mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
Use GetNextLanguage replace the original HiiLibGetNextLanguage API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8118 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e4b94a1a7d
commit
0b3f5a4dfd
@ -439,7 +439,7 @@ InitializeFrontPage (
|
|||||||
|
|
||||||
if (gFrontPagePrivate.LanguageToken == NULL) {
|
if (gFrontPagePrivate.LanguageToken == NULL) {
|
||||||
while (*LangCode != 0) {
|
while (*LangCode != 0) {
|
||||||
HiiLibGetNextLanguage (&LangCode, Lang);
|
GetNextLanguage (&LangCode, Lang);
|
||||||
OptionCount ++;
|
OptionCount ++;
|
||||||
}
|
}
|
||||||
gFrontPagePrivate.LanguageToken = AllocatePool (OptionCount * sizeof (EFI_STRING_ID));
|
gFrontPagePrivate.LanguageToken = AllocatePool (OptionCount * sizeof (EFI_STRING_ID));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user