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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Private structures definitions in HiiDatabase.
|
||||
|
||||
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
|
||||
@@ -436,6 +436,7 @@ GetSystemFont (
|
||||
@param StringTextOffset Offset, relative to the found block address, of
|
||||
the string text information.
|
||||
@param LastStringId Output the last string id when StringId = 0 or StringId = -1.
|
||||
@param StartStringId The first id in the skip block which StringId in the block.
|
||||
|
||||
@retval EFI_SUCCESS The string text and font is retrieved
|
||||
successfully.
|
||||
@@ -453,7 +454,8 @@ FindStringBlock (
|
||||
OUT UINT8 *BlockType, OPTIONAL
|
||||
OUT UINT8 **StringBlockAddr, OPTIONAL
|
||||
OUT UINTN *StringTextOffset, OPTIONAL
|
||||
OUT EFI_STRING_ID *LastStringId OPTIONAL
|
||||
OUT EFI_STRING_ID *LastStringId, OPTIONAL
|
||||
OUT EFI_STRING_ID *StartStringId OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user