feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
3
engine/thirdparty/icu4c/common/uscript.cpp
vendored
3
engine/thirdparty/icu4c/common/uscript.cpp
vendored
|
|
@ -59,6 +59,9 @@ getCodesFromLocale(const char *locale,
|
|||
if (U_FAILURE(*err)) { return 0; }
|
||||
icu::CharString lang;
|
||||
icu::CharString script;
|
||||
if (locale == nullptr) {
|
||||
locale = uloc_getDefault();
|
||||
}
|
||||
ulocimp_getSubtags(locale, &lang, &script, nullptr, nullptr, nullptr, *err);
|
||||
if (U_FAILURE(*err)) { return 0; }
|
||||
// Multi-script languages, equivalent to the LocaleScript data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue