From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.16394.1605145182585696968 for ; Wed, 11 Nov 2020 17:39:43 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 12 Nov 2020 09:39:35 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: , References: <811d2cd2539810b03d21fba07736e1e9a902c916.1605144299.git.GevinGe@hotmail.com> In-Reply-To: <811d2cd2539810b03d21fba07736e1e9a902c916.1605144299.git.GevinGe@hotmail.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0hdIE1kZU1vZHVsZVBrZyBEaXNwbGF5RW5naW5lRHhlOiBDb3JyZWN0IHRoZSBsb2NhbCB2YXJpYWJsZSBuYW1lLg==?= Date: Thu, 12 Nov 2020 09:39:37 +0800 Message-ID: <001801d6b894$aec73610$0c55a230$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIelSGQWCK2PzrkxZ5a8kkREz6K76kz/uWw Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: gechao@greatwall.com.cn > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA11=D4=C212=C8=D5 9:34 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: dandan.bi@intel.com; eric.dong@intel.com; > gaoliming@byosoft.com.cn; gechao > =D6=F7=CC=E2: [PATCH] MdeModulePkg DisplayEngineDxe: Correct the local = variable > name. >=20 > From: gechao >=20 > Signed-off-by: gechao > --- > .../Universal/DisplayEngineDxe/FormDisplay.c | 16 = ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) >=20 > diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > index 3b034a1c82..a3898dc2ec 100644 > --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c > @@ -372,7 +372,7 @@ GetWidth ( > { >=20 > CHAR16 *String; >=20 > UINTN Size; >=20 > - EFI_IFR_TEXT *TestOp; >=20 > + EFI_IFR_TEXT *TextOp; >=20 > UINT16 ReturnWidth; >=20 > FORM_DISPLAY_ENGINE_STATEMENT *Statement; >=20 >=20 >=20 > @@ -394,9 +394,9 @@ GetWidth ( > // See if the second text parameter is really NULL >=20 > // >=20 > if (Statement->OpCode->OpCode =3D=3D EFI_IFR_TEXT_OP) { >=20 > - TestOp =3D (EFI_IFR_TEXT *) Statement->OpCode; >=20 > - if (TestOp->TextTwo !=3D 0) { >=20 > - String =3D GetToken (TestOp->TextTwo, gFormData->HiiHandle); >=20 > + TextOp =3D (EFI_IFR_TEXT *) Statement->OpCode; >=20 > + if (TextOp->TextTwo !=3D 0) { >=20 > + String =3D GetToken (TextOp->TextTwo, gFormData->HiiHandle); >=20 > Size =3D StrLen (String); >=20 > FreePool (String); >=20 > } >=20 > @@ -2166,7 +2166,7 @@ HasOptionString ( > FORM_DISPLAY_ENGINE_STATEMENT *Statement; >=20 > CHAR16 *String; >=20 > UINTN Size; >=20 > - EFI_IFR_TEXT *TestOp; >=20 > + EFI_IFR_TEXT *TextOp; >=20 >=20 >=20 > Size =3D 0; >=20 > Statement =3D MenuOption->ThisTag; >=20 > @@ -2175,9 +2175,9 @@ HasOptionString ( > // See if the second text parameter is really NULL >=20 > // >=20 > if (Statement->OpCode->OpCode =3D=3D EFI_IFR_TEXT_OP) { >=20 > - TestOp =3D (EFI_IFR_TEXT *) Statement->OpCode; >=20 > - if (TestOp->TextTwo !=3D 0) { >=20 > - String =3D GetToken (TestOp->TextTwo, gFormData->HiiHandle); >=20 > + TextOp =3D (EFI_IFR_TEXT *) Statement->OpCode; >=20 > + if (TextOp->TextTwo !=3D 0) { >=20 > + String =3D GetToken (TextOp->TextTwo, gFormData->HiiHandle); >=20 > Size =3D StrLen (String); >=20 > FreePool (String); >=20 > } >=20 > -- > 2.28.0.windows.1