use _wcsupr to make swedish chater display right when it change langues
this fix maby also fix rus langues display right now after langues change
Modified: trunk/reactos/lib/cpl/intl/locale.c

Modified: trunk/reactos/lib/cpl/intl/locale.c
--- trunk/reactos/lib/cpl/intl/locale.c	2005-05-10 13:03:40 UTC (rev 15203)
+++ trunk/reactos/lib/cpl/intl/locale.c	2005-05-11 09:56:24 UTC (rev 15204)
@@ -107,7 +107,7 @@
 
 	wsprintf(value, L"%04x", (DWORD)lcid);
 
-	RegSetValueExW(localeKey, L"Locale", 0, REG_SZ, (BYTE *)value, sizeof(value));
+	RegSetValueExW(localeKey, L"Locale", 0, REG_SZ, (BYTE *) _wcsupr(value), sizeof(value));
 	RegCloseKey(localeKey);
 
 	// Set language
@@ -116,8 +116,8 @@
 	if (ret != ERROR_SUCCESS)
 		return;
 
-	RegSetValueExW(langKey, L"Default", 0, REG_SZ, (BYTE *)value, sizeof(value));
-	RegSetValueExW(langKey, L"InstallLanguage", 0, REG_SZ, (BYTE *)value, sizeof(value));
+	RegSetValueExW(langKey, L"Default", 0, REG_SZ, (BYTE *)_wcsupr(value), sizeof(value));
+	RegSetValueExW(langKey, L"InstallLanguage", 0, REG_SZ, (BYTE *) _wcsupr(value), sizeof(value));
 	RegCloseKey(langKey);
 }