Author: gadamopoulos
Date: Fri Dec 9 18:30:50 2016
New Revision: 73441
URL:
http://svn.reactos.org/svn/reactos?rev=73441&view=rev
Log:
[USETUP] -Fix setting the language id when compiling for a single language. CORE-10958
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 Dec 9 18:30:50
2016
@@ -662,7 +662,10 @@
/* If there's just a single language in the list skip
* the language selection process altogether! */
if (GenericListHasSingleEntry(LanguageList))
+ {
+ LanguageId = (LANGID)(wcstol(SelectedLanguageId, NULL, 16) & 0xFFFF);
return INTRO_PAGE;
+ }
DrawGenericList(LanguageList,
2,