diff options
author | Lucian Muresan <lucianm@users.sourceforge.net> | 2013-02-22 22:09:40 +0100 |
---|---|---|
committer | Lucian Muresan <lucianm@users.sourceforge.net> | 2013-02-22 22:09:40 +0100 |
commit | 281feef328f8e3772f7a0dde0a90c3a5260c334d (patch) | |
tree | 42caac879ed1cb4b2e419319677173dc04e4f709 /glcdgraphics/font.c | |
parent | 36e68bcba2e60808a1b629aea3640f8d8bec9c2d (diff) | |
download | graphlcd-base-281feef328f8e3772f7a0dde0a90c3a5260c334d.tar.gz graphlcd-base-281feef328f8e3772f7a0dde0a90c3a5260c334d.tar.bz2 |
more consistent usage of debug code (define HAVE_DEBUG)
Diffstat (limited to 'glcdgraphics/font.c')
-rw-r--r-- | glcdgraphics/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcdgraphics/font.c b/glcdgraphics/font.c index 9bbc1af..7e82cee 100644 --- a/glcdgraphics/font.c +++ b/glcdgraphics/font.c @@ -170,7 +170,7 @@ bool cFont::LoadFNT(const std::string & fileName, const std::string & encoding) character = chdr[0] | (chdr[1] << 8); charWidth = chdr[2] | (chdr[3] << 8); fread(buffer, fontHeight * ((charWidth + 7) / 8), 1, fontFile); -#ifdef DEBUG +#ifdef HAVE_DEBUG printf ("fontHeight %0d - charWidth %0d - character %0d - bytes %0d\n", fontHeight, charWidth, character,fontHeight * ((charWidth + 7) / 8)); #endif |