OcUnicodeCollationEngLib: Fix build

This commit is contained in:
Alex James 2019-08-18 16:56:55 -05:00
parent ef4535e9f2
commit 080f7da280
No known key found for this signature in database
GPG Key ID: 2811C5BA55DA7094

View File

@ -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];