[USETUP] -Fix setting the language id when compiling for a single language. CORE-10958

svn path=/trunk/; revision=73441
This commit is contained in:
Giannis Adamopoulos
2016-12-09 18:30:50 +00:00
parent 74b479fa67
commit 3bee65b985
@@ -662,7 +662,10 @@ LanguagePage(PINPUT_RECORD Ir)
/* 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,