mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
More DPRINTs added for better tracing of locale-related calls, but NDEBUG is defined.
svn path=/trunk/; revision=14825
This commit is contained in:
parent
23e1c587a2
commit
037d9d7e8b
1 changed files with 4 additions and 2 deletions
|
@ -350,7 +350,7 @@ EnumSystemLocalesW (
|
|||
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 @@ EnumSystemLocalesW (
|
|||
|
||||
lpLocale[8]=0;
|
||||
|
||||
DPRINT1("Locale=%s\n", lpLocale);
|
||||
DPRINT1("Locale=%S\n", lpLocale);
|
||||
|
||||
// Call Enum func
|
||||
if (!lpLocaleEnumProc((LPWSTR)lpLocale))
|
||||
|
@ -695,6 +695,8 @@ GetLocaleInfoW (
|
|||
}
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue