summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-20 02:51:09 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-20 02:51:09 +0000
commite5c861ac2e6829100df62d1ca8d8bd87a6bd781e (patch)
treed83269449b4ffdef8e381026104d37179096061d /MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
parentc10dc4c120e5050380ddf04bcdee828557c51bd6 (diff)
downloadedk2-platforms-e5c861ac2e6829100df62d1ca8d8bd87a6bd781e.tar.xz
Fixed HiiSetString failed. Tracker NUM:204479
Reason: When call function HiiSetString to update the string which has no old string exist for one language, it will failed. Solution: When no old string exist, update with new string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11257 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe/Database.c')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/Database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
index a4640cea40..f82842cac1 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
@@ -1,7 +1,7 @@
/** @file
Implementation for EFI_HII_DATABASE_PROTOCOL.
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -856,7 +856,7 @@ InsertStringPackage (
//
// Collect all font block info
//
- Status = FindStringBlock (Private, StringPackage, (EFI_STRING_ID) (-1), NULL, NULL, NULL, &StringPackage->MaxStringId);
+ Status = FindStringBlock (Private, StringPackage, (EFI_STRING_ID) (-1), NULL, NULL, NULL, &StringPackage->MaxStringId, NULL);
if (EFI_ERROR (Status)) {
return Status;
}