MdeModulePkg/FormDisplay: Make the LineWidth of option consistent

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=529

LineWidth of option in funcrion UpdateSkipInfoForMenu and DisplayOneMenu
are inconsistent. Now fix this issue to avoid incorrect UI display.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
Dandan Bi 2017-05-10 09:47:06 +08:00 committed by Hao Wu
parent bcd999d237
commit df5914993c
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ UpdateSkipInfoForMenu (
CHAR16 *OutputString;
UINT16 GlyphWidth;
Width = (UINT16) gOptionBlockWidth;
Width = (UINT16) gOptionBlockWidth - 1;
GlyphWidth = 1;
Row = 1;