Update HiiCompareLanguage to support case that language in String package is "en" and the input language is "en-US".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11356 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2011-03-08 08:50:26 +00:00
parent 11232773ac
commit b0bdc7ba21
2 changed files with 21 additions and 5 deletions

View File

@ -1757,8 +1757,8 @@ HiiGetAltCfg (
/**
Compare whether two names of languages are identical.
@param Language1 Name of language 1
@param Language2 Name of language 2
@param Language1 Name of language 1 from StringPackage
@param Language2 Name of language 2 to be compared with language 1.
@retval TRUE same
@retval FALSE not same