mirror of https://github.com/acidanthera/audk.git
Fix a bug in GetLangFromSupportedLangCodes()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11092 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5c0337668f
commit
462979afc2
|
@ -704,6 +704,11 @@ GetLangFromSupportedLangCodes (
|
||||||
return CopyMem (mGlobal->PlatformLang, Supported - CompareLength, CompareLength);
|
return CopyMem (mGlobal->PlatformLang, Supported - CompareLength, CompareLength);
|
||||||
}
|
}
|
||||||
SubIndex++;
|
SubIndex++;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Skip ';' characters in Supported
|
||||||
|
//
|
||||||
|
for (; *Supported != '\0' && *Supported == ';'; Supported++);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue