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:
lgao4 2009-04-17 05:42:23 +00:00
parent e4b94a1a7d
commit 0b3f5a4dfd
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ InitializeFrontPage (
if (gFrontPagePrivate.LanguageToken == NULL) {
while (*LangCode != 0) {
HiiLibGetNextLanguage (&LangCode, Lang);
GetNextLanguage (&LangCode, Lang);
OptionCount ++;
}
gFrontPagePrivate.LanguageToken = AllocatePool (OptionCount * sizeof (EFI_STRING_ID));