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/interface.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/client/interface.c') diff --git a/src/client/interface.c b/src/client/interface.c index 4f7b9dc..d64ba36 100644 --- a/src/client/interface.c +++ b/src/client/interface.c @@ -121,7 +121,7 @@ SDL_Surface * SetVideoMode(int width, int height, int bpp, Uint32 flags) int initSDL() { #ifdef DEBUG - printf(_("Initializing SDL system\n")); + DEBUG_MSG(_("Initializing SDL system\n")); #endif // initialization of SDL if (SDL_Init(SDL_SUBSYSTEMS) == -1) { @@ -332,9 +332,8 @@ void eventSDL() void quitSDL() { -#ifdef DEBUG - printf(_("Quitting SDL\n")); -#endif + DEBUG_MSG(_("Quitting SDL\n")); + quitHotKey(); quitKeyboardBuffer(); -- cgit v1.2.3