diff options
author | Eric Dong <eric.dong@intel.com> | 2014-11-26 02:44:06 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2014-11-26 02:44:06 +0000 |
commit | 42645c3dcf0488c616422dcdfd1596939223f432 (patch) | |
tree | 4fdcc9d985f19ce93dadfae5cc8311893ab42cf5 /MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c | |
parent | 59e4c8e2bde4c25a8e3ea6916b0bfa9f77025e31 (diff) | |
download | edk2-42645c3dcf0488c616422dcdfd1596939223f432.zip edk2-42645c3dcf0488c616422dcdfd1596939223f432.tar.gz edk2-42645c3dcf0488c616422dcdfd1596939223f432.tar.bz2 |
Fixed user input arrow down/ page down caused form display highlight menu error.
When scroll menu to the one not shows in current form, and this menu has option mismatch error, current display engine will not highlight this menu.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16447 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c')
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c b/MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c index 6e9e6dd..84ae03e 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c @@ -1034,7 +1034,7 @@ ProcessOptions ( // Exit current DisplayForm with new value.
//
gUserInput->SelectedStatement = Question;
-
+ gMisMatch = TRUE;
ValueArray = AllocateZeroPool (Question->CurrentValue.BufferLen);
ASSERT (ValueArray != NULL);
gUserInput->InputValue.Buffer = ValueArray;
@@ -1119,7 +1119,7 @@ ProcessOptions ( // Exit current DisplayForm with new value.
//
gUserInput->SelectedStatement = Question;
-
+ gMisMatch = TRUE;
ValueArray = AllocateCopyPool (Question->CurrentValue.BufferLen, Question->CurrentValue.Buffer);
ASSERT (ValueArray != NULL);
gUserInput->InputValue.Buffer = ValueArray;
@@ -1196,7 +1196,7 @@ ProcessOptions ( break;
}
gUserInput->SelectedStatement = Question;
-
+ gMisMatch = TRUE;
FreePool (*OptionString);
*OptionString = NULL;
return EFI_NOT_FOUND;
|