Mercurial > sumwars
changeset 2671:f28e1d1c6861 gussoundtest
refs #29: forgot to commit two files
author | Stefan Stammberger <some.fusion@gmail.com> |
---|---|
date | Sat, 08 Mar 2014 22:06:19 +0100 |
parents | b5d964942c84 |
children | c8d354c97487 |
files | src/core/gettext.cpp src/gui/application.cpp |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/gettext.cpp Sat Mar 08 21:52:56 2014 +0100 +++ b/src/core/gettext.cpp Sat Mar 08 22:06:19 2014 +0100 @@ -159,7 +159,7 @@ if (setWinThreadLocale (win_locale) == 0) { - DEBUG ("Could not change locale to %s", win_locale.c_str ()); + SW_DEBUG ("Could not change locale to %s", win_locale.c_str ()); return; } @@ -207,9 +207,9 @@ // But what if the locales are both identical and empty? A special case for Windows environments. if (locale.empty()) { - DEBUG ("Gettext received empty locale. Initializing with OS default"); + SW_DEBUG ("Gettext received empty locale. Initializing with OS default"); locale = getDefaultUsableLocale (); - DEBUG ("Gettext received empty locale. Initialized with OS default: %s", locale.c_str ()); + SW_DEBUG ("Gettext received empty locale. Initialized with OS default: %s", locale.c_str ()); } @@ -228,7 +228,7 @@ if (setWinThreadLocale (win_locale) == 0) { - DEBUG ("Could not change locale to %s", win_locale.c_str ()); + SW_DEBUG ("Could not change locale to %s", win_locale.c_str ()); return; } @@ -257,7 +257,7 @@ if (newCode == -1) return false; - DEBUG ("Setting locale to : %s", newLocale.c_str ()); + SW_DEBUG ("Setting locale to : %s", newLocale.c_str ()); result = SetThreadLocale (newCode); return result;
--- a/src/gui/application.cpp Sat Mar 08 21:52:56 2014 +0100 +++ b/src/gui/application.cpp Sat Mar 08 22:06:19 2014 +0100 @@ -676,8 +676,8 @@ if (desktopWidth == videoModeWidth && desktopHeight == videoModeHeight) { - DEBUG ("Windowed (Fullscreen) mode selected; desktop at %d x %d.", desktopWidth, desktopHeight); - DEBUG ("Correcting settings."); + SW_DEBUG ("Windowed (Fullscreen) mode selected; desktop at %d x %d.", desktopWidth, desktopHeight); + SW_DEBUG ("Correcting settings."); // Retrieve the window handle HWND hwnd; // handle of window