diff options
author | Eric Dong <eric.dong@intel.com> | 2015-07-27 07:40:18 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-07-27 07:40:18 +0000 |
commit | 8fa9ac60f5afe8fe6ef874d71df95413ad6faa2b (patch) | |
tree | 3188db301ea1d87a8836bfc5ec6c62193022467b /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | 410952bf8bd071d5541dd82ac16069cd3b50e09b (diff) | |
download | edk2-platforms-8fa9ac60f5afe8fe6ef874d71df95413ad6faa2b.tar.xz |
Support get string from configuration string packages.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18074 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/String.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c index 172b3fb0ce..2d04be4b62 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c @@ -1834,12 +1834,6 @@ HiiGetLanguages ( Link = Link->ForwardLink
) {
StringPackage = CR (Link, HII_STRING_PACKAGE_INSTANCE, StringEntry, HII_STRING_PACKAGE_SIGNATURE);
- if (AsciiStrnCmp (StringPackage->StringPkgHdr->Language, UEFI_CONFIG_LANG, AsciiStrLen (UEFI_CONFIG_LANG)) == 0) {
- //
- // Skip string package used for keyword protocol.
- //
- continue;
- }
ResultSize += AsciiStrSize (StringPackage->StringPkgHdr->Language);
if (ResultSize <= *LanguagesSize) {
AsciiStrCpyS (Languages, *LanguagesSize / sizeof (CHAR8), StringPackage->StringPkgHdr->Language);
|