diff options
author | Eric Dong <eric.dong@intel.com> | 2013-11-22 07:14:53 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-11-22 07:14:53 +0000 |
commit | a6a2a95632172022229f0c3d20f0b9adb15dc2fa (patch) | |
tree | 1b5ead5aaf536ef2b3fba66101c098c7d21f9796 /MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | |
parent | 85a32c714c4c881431b2830ac5dc57e894dc1c61 (diff) | |
download | edk2-platforms-a6a2a95632172022229f0c3d20f0b9adb15dc2fa.tar.xz |
Adjust skip value when paint text two string for text opcode.
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@14888 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c')
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c index fffc67d695..1b754cf82b 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c @@ -1855,6 +1855,12 @@ DisplayOneMenu ( if (StrLen (&StringPtr[Index]) != 0) {
if (Temp3 == 0) {
Row++;
+ //
+ // If the rows for text two is greater than or equal to the skip value, increase the skip value
+ //
+ if ((Row - MenuOption->Row) >= MenuOption->Skip) {
+ MenuOption->Skip++;
+ }
}
}
|