From 98875c5a636f50fe89b9394b8193e86094ae14e0 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Fri, 14 Nov 2008 16:38:41 +0100 Subject: uses new macro DEBUG_MSG --- src/client/font.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client/font.c') diff --git a/src/client/font.c b/src/client/font.c index 8d522b2..3473a1d 100644 --- a/src/client/font.c +++ b/src/client/font.c @@ -35,9 +35,9 @@ void initFont(char *file, int size) TTF_SetFontStyle(g_font, TTF_STYLE_NORMAL); fontSize = size; -#ifdef DEBUG - printf(_("Loading font: \"%s\"\n"), file); -#endif + + DEBUG_MSG(_("Loading font: \"%s\"\n"), file); + isFontInit = TRUE; } @@ -129,8 +129,8 @@ void quitFont() { TTF_CloseFont(g_font); TTF_Quit(); -#ifdef DEBUG - printf(_("Unloading font\n")); -#endif + + DEBUG_MSG(_("Unloading font\n")); + isFontInit = FALSE; } -- cgit v1.2.3