Roll back changes to apply GetBestLanguage() in HiiDataBase. Exact language match should be used in HiiDatabase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8384 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1745,6 +1745,24 @@ HiiGetAltCfg (
|
||||
OUT EFI_STRING *AltCfgResp
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Compare whether two names of languages are identical.
|
||||
|
||||
@param Language1 Name of language 1
|
||||
@param Language2 Name of language 2
|
||||
|
||||
@retval TRUE same
|
||||
@retval FALSE not same
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
HiiCompareLanguage (
|
||||
IN CHAR8 *Language1,
|
||||
IN CHAR8 *Language2
|
||||
)
|
||||
;
|
||||
|
||||
//
|
||||
// Global variables
|
||||
//
|
||||
|
Reference in New Issue
Block a user