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
This commit is contained in:
Eric Dong 2013-11-22 07:14:53 +00:00 committed by ydong10
parent 85a32c714c
commit a6a2a95632
1 changed files with 6 additions and 0 deletions

View File

@ -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++;
}
}
}