summaryrefslogtreecommitdiff
path: root/glcdgraphics/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcdgraphics/font.c')
-rw-r--r--glcdgraphics/font.c2
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