summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/l10n_string_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/l10n_string_util.cc')
-rw-r--r--chrome/installer/util/l10n_string_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index 6be1c61..b28b459 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -25,7 +25,7 @@ std::wstring GetSystemLanguage() {
if (!language.empty())
return language;
// We don't have ICU at this point, so we use win32 apis.
- LCID id = GetThreadLocale();
+ LCID id = GetUserDefaultLangID();
int length = GetLocaleInfo(id, LOCALE_SISO639LANGNAME, 0, 0);
if (0 == length) {
language = L"en-us";