summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-11 11:01:50 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-11 11:01:50 +0000
commit7b9b2b920e7e11de3b7d4c2b3c305aa4a41225ba (patch)
tree478ba6361e649d08d0c76ae2fe09f419dbd10f67 /MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
parent351615ee5ee9b7f7255c6b2075efd31854070619 (diff)
downloadedk2-7b9b2b920e7e11de3b7d4c2b3c305aa4a41225ba.zip
edk2-7b9b2b920e7e11de3b7d4c2b3c305aa4a41225ba.tar.gz
edk2-7b9b2b920e7e11de3b7d4c2b3c305aa4a41225ba.tar.bz2
Fix the bug for evaluate EFI_IFR_NOT_EQUAL_OP opcode, and the bug in using UnicodeSPrint function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9554 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Expression.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
index 508a805..4bb1950 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
@@ -1941,7 +1941,7 @@ EvaluateExpression (
break;
case EFI_IFR_NOT_EQUAL_OP:
- Value->Value.b = (BOOLEAN) ((Result == 0) ? TRUE : FALSE);
+ Value->Value.b = (BOOLEAN) ((Result != 0) ? TRUE : FALSE);
break;
case EFI_IFR_GREATER_EQUAL_OP: