Author: spetreolle
Date: Sun May 23 18:26:11 2010
New Revision: 47327
URL:
http://svn.reactos.org/svn/reactos?rev=47327&view=rev
Log:
Perform case insensitive comparison against the selected language id.
Modified:
trunk/reactos/base/setup/usetup/interface/usetup.c
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Sun May 23 18:26:11
2010
@@ -829,7 +829,7 @@
while (ListEntry != NULL)
{
- if (!wcscmp(LocaleID, GetListEntryUserData(ListEntry)))
+ if (!wcsicmp(LocaleID, GetListEntryUserData(ListEntry)))
{
DPRINT("found %S in LanguageList\n",GetListEntryUserData(ListEntry));
SetCurrentListEntry(LanguageList, ListEntry);
@@ -843,7 +843,7 @@
while (ListEntry != NULL)
{
- if (!wcscmp(LocaleID, GetListEntryUserData(ListEntry)))
+ if (!wcsicmp(LocaleID, GetListEntryUserData(ListEntry)))
{
DPRINT("found %S in LayoutList\n",GetListEntryUserData(ListEntry));
SetCurrentListEntry(LayoutList, ListEntry);