diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-30 07:36:00 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-30 07:36:00 +0000 |
commit | bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf (patch) | |
tree | 1b7421c8c108caff2ee9ef1ade0126b249421a36 /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | 650b87cc1be916e416965d5f58db921819cc199b (diff) | |
download | edk2-platforms-bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf.tar.xz |
Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/Font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c index 66fc6b9781..93857bd11b 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c @@ -2368,7 +2368,7 @@ HiiStringIdToImage ( if (Language == NULL) {
Language = "";
}
- CurrentLanguage = GetEfiGlobalVariable (L"PlatformLang");
+ GetEfiGlobalVariable2 (L"PlatformLang", &CurrentLanguage, NULL);
BestLanguage = GetBestLanguage (
SupportedLanguages,
FALSE,
|