More DPRINTs added for better tracing of locale-related calls, but
NDEBUG is defined.
Modified: trunk/reactos/lib/kernel32/misc/lang.c
_____
Modified: trunk/reactos/lib/kernel32/misc/lang.c
--- trunk/reactos/lib/kernel32/misc/lang.c 2005-04-26 21:21:32 UTC
(rev 14824)
+++ trunk/reactos/lib/kernel32/misc/lang.c 2005-04-26 21:23:43 UTC
(rev 14825)
@@ -350,7 +350,7 @@
while (result != STATUS_NO_MORE_ENTRIES)
{
int i;
- TCHAR lpLocale[9];
+ WCHAR lpLocale[9];
// TODO: Here we should check, in case dwFlags &
LCID_INSTALLED is specified,
// if this locale is really installed
@@ -361,7 +361,7 @@
lpLocale[8]=0;
- DPRINT1("Locale=%s\n", lpLocale);
+ DPRINT1("Locale=%S\n", lpLocale);
// Call Enum func
if (!lpLocaleEnumProc((LPWSTR)lpLocale))
@@ -695,6 +695,8 @@
}
if (!cchData) lpLCData = NULL;
+ DPRINT1("Info for locale: %x\n", Locale); // REMOVE Fireball
+
if (Locale == LOCALE_NEUTRAL || Locale == LOCALE_SYSTEM_DEFAULT)
Locale = GetSystemDefaultLCID();
else if (Locale == LOCALE_USER_DEFAULT) Locale =
GetUserDefaultLCID();
Show replies by date