Index: source/i18n/L10n.cpp =================================================================== --- source/i18n/L10n.cpp +++ source/i18n/L10n.cpp @@ -249,7 +249,7 @@ } icu::UnicodeString utf16LocaleDisplayName; - locale->getDisplayName(*locale, utf16LocaleDisplayName); + locale->getDisplayName(currentLocale, utf16LocaleDisplayName); char localeDisplayName[512]; icu::CheckedArrayByteSink sink(localeDisplayName, ARRAY_SIZE(localeDisplayName)); utf16LocaleDisplayName.toUTF8(sink);