From ba507ba43949b206637dbc6fac5782a9c9d437d4 Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Tue, 17 Oct 2017 14:59:18 +0200 Subject: [PATCH] [SYSSETUP] [USERINIT] "sLanguage" relates to LOCALE_SABBREVLANGNAME actually, not LOCALE_SLANGUAGE. CORE-13128 #62 --- base/system/userinit/livecd.c | 2 +- dll/win32/syssetup/install.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/system/userinit/livecd.c b/base/system/userinit/livecd.c index a5236d4426f..6a17bbb797d 100644 --- a/base/system/userinit/livecd.c +++ b/base/system/userinit/livecd.c @@ -465,7 +465,7 @@ InitializeDefaultUserLocale( /* Misc */ {LOCALE_SCOUNTRY, L"sCountry"}, - {LOCALE_SLANGUAGE, L"sLanguage"}, + {LOCALE_SABBREVLANGNAME, L"sLanguage"}, {LOCALE_ICOUNTRY, L"iCountry"}, {0, NULL}}; diff --git a/dll/win32/syssetup/install.c b/dll/win32/syssetup/install.c index 2243b89aadc..8c4ab5e5913 100644 --- a/dll/win32/syssetup/install.c +++ b/dll/win32/syssetup/install.c @@ -1113,7 +1113,7 @@ InitializeDefaultUserLocale(VOID) /* Misc */ {LOCALE_SCOUNTRY, L"sCountry"}, - {LOCALE_SLANGUAGE, L"sLanguage"}, + {LOCALE_SABBREVLANGNAME, L"sLanguage"}, {LOCALE_ICOUNTRY, L"iCountry"}, {0, NULL}}; -- 2.17.1