mirror of https://github.com/acidanthera/audk.git
Fix a bug that incorrectly uses && instead of !! in IsKeyOptionVariable().
Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ruiyu Ni<ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13869 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d2bf9913a6
commit
39b36547a2
|
@ -419,7 +419,7 @@ IsKeyOptionVariable (
|
|||
UINTN Index;
|
||||
|
||||
if (!CompareGuid (Guid, &gEfiGlobalVariableGuid) ||
|
||||
(StrSize (Name) != sizeof (L"Key####")) &&
|
||||
(StrSize (Name) != sizeof (L"Key####")) ||
|
||||
(StrnCmp (Name, L"Key", 3) != 0)
|
||||
) {
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue