Author: ekohl
Date: Fri May 6 20:17:20 2016
New Revision: 71268
URL:
http://svn.reactos.org/svn/reactos?rev=71268&view=rev
Log:
[USETUP]
Fix serious path localization issue.
Patch by Wim Hueskes.
CORE-9656 #resolve #comment Thanks a lot!
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] Fri May 6 20:17:20
2016
@@ -629,6 +629,10 @@
*
* Next pages: IntroPage, QuitPage
*
+ * SIDEEFFECTS
+ * Init SelectedLanguageId
+ * Init LanguageId
+ *
* RETURNS
* Number of the next page.
*/
@@ -772,6 +776,8 @@
* Init RequiredPartitionDiskSpace
* Init IsUnattendedSetup
* If unattended, init *List and sets the Codepage
+ * If unattended, init SelectedLanguageId
+ * If unattended, init LanguageId
*
* RETURNS
* Number of the next page.
@@ -906,6 +912,7 @@
/* new part */
wcscpy(SelectedLanguageId,LocaleID);
+ LanguageId = (LANGID)(wcstol(SelectedLanguageId, NULL, 16) & 0xFFFF);
/* first we hack LanguageList */
ListEntry = GetFirstListEntry(LanguageList);