MdeModulePkg: Replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr
It is the follow up of 3ab41b7a32
to replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr with
UnicodeStrToAsciiStrS/AsciiStrToUnicodeStrS.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
@ -483,7 +483,7 @@ GetOptionalStringByIndex (
|
||||
*String = GetStringById (STRING_TOKEN (STR_MISSING_STRING));
|
||||
} else {
|
||||
*String = AllocatePool (StrSize * sizeof (CHAR16));
|
||||
AsciiStrToUnicodeStr (OptionalStrStart, *String);
|
||||
AsciiStrToUnicodeStrS (OptionalStrStart, *String, StrSize);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user