firefox/firefox-locale-debug.patch

13 lines
635 B
Diff
Raw Normal View History

2020-04-06 21:07:31 +00:00
diff -up firefox-75.0/intl/locale/LocaleService.cpp.locale-debug firefox-75.0/intl/locale/LocaleService.cpp
--- firefox-75.0/intl/locale/LocaleService.cpp.locale-debug 2020-04-06 22:42:20.196799809 +0200
+++ firefox-75.0/intl/locale/LocaleService.cpp 2020-04-06 22:43:02.522530317 +0200
@@ -372,8 +372,6 @@ LocaleService::GetDefaultLocale(nsACStri
// just use our hard-coded default below.
2018-11-15 09:46:10 +00:00
GetGREFileContents("update.locale", &locale);
locale.Trim(" \t\n\r");
2020-04-06 21:07:31 +00:00
- // This should never be empty.
2018-11-15 09:46:10 +00:00
- MOZ_ASSERT(!locale.IsEmpty());
2020-04-06 21:07:31 +00:00
if (CanonicalizeLanguageId(locale)) {
2018-11-15 09:46:10 +00:00
mDefaultLocale.Assign(locale);
}