未验证 提交 080f7da2 编写于 作者: A Alex James

OcUnicodeCollationEngLib: Fix build

上级 ef4535e9
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册