summaryrefslogtreecommitdiff
path: root/src/client/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/font.c')
-rwxr-xr-xsrc/client/font.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client/font.c b/src/client/font.c
index b81c398..7e95286 100755
--- a/src/client/font.c
+++ b/src/client/font.c
@@ -40,8 +40,9 @@ void initFont(char *file,int size)
TTF_SetFontStyle(g_font, TTF_STYLE_NORMAL);
fontSize = size;
-
- printf("init font.. (%s)\n", file);
+#ifdef DEBUG
+ printf("Loading font: \"%s\"\n", file);
+#endif
isFontInit = TRUE;
}
@@ -133,7 +134,8 @@ void quitFont()
{
TTF_CloseFont(g_font);
TTF_Quit();
-
- printf("quit font\n");
+#ifdef DEBUG
+ printf(_("Unloading font\n"));
+#endif
isFontInit = FALSE;
}