mirror of https://github.com/acidanthera/audk.git
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:
parent
85a32c714c
commit
a6a2a95632
|
@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue