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/interface.c | |
| parent | 957f3411170ca1d5f30ee2e2c4e25393195cce75 (diff) | |
uses new macro DEBUG_MSG
Diffstat (limited to 'src/client/interface.c')
| -rw-r--r-- | src/client/interface.c | 7 |
1 files changed, 3 insertions, 4 deletions
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(); |