mirror of https://github.com/acidanthera/audk.git
Fix incorrect pointer check.
Signed-off-by: li-elvin Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12694 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
37d5c6ee2f
commit
801401877e
|
@ -990,7 +990,7 @@ ChangeModeForSetup (
|
|||
SimpleTextOut = NULL;
|
||||
}
|
||||
|
||||
if ((GraphicsOutput == NULL) && (SimpleTextOut == NULL)) {
|
||||
if ((GraphicsOutput == NULL) || (SimpleTextOut == NULL)) {
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue