diff options
| author | Dusan Durech <dusan.d@centrum.sk> | 2008-11-14 16:38:41 +0100 |
|---|---|---|
| committer | Dusan Durech <dusan.d@centrum.sk> | 2008-11-14 16:38:41 +0100 |
| commit | 98875c5a636f50fe89b9394b8193e86094ae14e0 (patch) | |
| tree | 305f1a3c884763aff65f8bcd12ff9d2f648a04cd /src/client/font.c | |
| parent | 957f3411170ca1d5f30ee2e2c4e25393195cce75 (diff) | |
uses new macro DEBUG_MSG
Diffstat (limited to 'src/client/font.c')
| -rw-r--r-- | src/client/font.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |