mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcUnicodeCollationEngLib: Fix build
This commit is contained in:
parent
ef4535e9f2
commit
080f7da280
@ -142,7 +142,7 @@ OcUnicodeCollationEngInstallProtocol (
|
||||
// Workaround by appending the other language to the list of supported ones.
|
||||
//
|
||||
if (!OverwroteLang && AsciiStrnCmp (PlatformLang, "en", 2)) {
|
||||
OC_INLINE_STATIC_ASSERT (sizeof (UnicodeLanguages) == 6 && sizeof (UnicodeLanguages[0]) == 1,
|
||||
OC_STATIC_ASSERT (sizeof (UnicodeLanguages) == 6 && sizeof (UnicodeLanguages[0]) == 1,
|
||||
"UnicodeLanguages must contain one extra language");
|
||||
UnicodeLanguages[2] = ';';
|
||||
UnicodeLanguages[3] = PlatformLang[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user