Perform case insensitive comparison against the selected language id.
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 23 May 2010 16:26:11 +0000 (16:26 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 23 May 2010 16:26:11 +0000 (16:26 +0000)
svn path=/trunk/; revision=47327

reactos/base/setup/usetup/interface/usetup.c

index 7a97b49..f2bbd64 100644 (file)
@@ -829,7 +829,7 @@ SetupStartPage(PINPUT_RECORD Ir)
 
                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 @@ SetupStartPage(PINPUT_RECORD Ir)
 
                while (ListEntry != NULL)
                {
-                       if (!wcscmp(LocaleID, GetListEntryUserData(ListEntry)))
+                       if (!wcsicmp(LocaleID, GetListEntryUserData(ListEntry)))
                        {
                                DPRINT("found %S in LayoutList\n",GetListEntryUserData(ListEntry));
                                SetCurrentListEntry(LayoutList, ListEntry);