Update the code to follow the spec when evaluate the expression.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12973 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1950,7 +1950,7 @@ ValidateQuestion (
|
||||
return Status;
|
||||
}
|
||||
|
||||
if (Expression->Result.Value.b) {
|
||||
if ((Expression->Result.Type == EFI_IFR_TYPE_BOOLEAN) && Expression->Result.Value.b) {
|
||||
//
|
||||
// Condition meet, show up error message
|
||||
//
|
||||
|
Reference in New Issue
Block a user