From ebeaac6b0be78348460098a01669934ed308a42f Mon Sep 17 00:00:00 2001 From: Johns Date: Thu, 19 Mar 2009 15:04:27 +0100 Subject: [PATCH] Fixed bitmap comment. --- bdf2c.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/bdf2c.c b/bdf2c.c index 6c1d005..c561a5e 100644 --- a/bdf2c.c +++ b/bdf2c.c @@ -36,13 +36,15 @@ #include #include -#define VERSION "1" +#define VERSION "2" ///< version of this application ////////////////////////////////////////////////////////////////////////////// -// -// Create our header file. -// +/// +/// Create our header file. +/// +/// @param out File handle for output +/// void CreateFontHeaderFile(FILE * out) { register int i; @@ -55,7 +57,7 @@ void CreateFontHeaderFile(FILE * out) "\tunsigned short Chars;\t\t///< number of characters in font\n" "\tconst unsigned char *Widths;\t///< width of each character\n" "\tconst unsigned short *Index;\t///< encoding to character index\n" - "\tconst unsigned char *Bitmap;\t///< bitmap of each character\n" + "\tconst unsigned char *Bitmap;\t///< bitmap of all characters\n" "};\n\n"); fprintf(out, "\t/// @{ defines to have human readable font files\n"); @@ -71,9 +73,12 @@ void CreateFontHeaderFile(FILE * out) ////////////////////////////////////////////////////////////////////////////// -// -// Print header for c file. -// +/// +/// Print header for c file. +/// +/// @param out File handle for output +/// @param name Font variable name in C source file +/// void Header(FILE * out, const char *name) { fprintf(out,