diff options
author | Dandan Bi <dandan.bi@intel.com> | 2017-05-10 09:47:06 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-05-11 10:48:49 +0800 |
commit | df5914993c9d4db87e4132bcc3b88efb48db5c6e (patch) | |
tree | b1a95402f2556a497cde50300d30f51f4f4e7c7d | |
parent | bcd999d2377d1a34bb3b5c02e4206a8d149999a2 (diff) | |
download | edk2-df5914993c9d4db87e4132bcc3b88efb48db5c6e.zip edk2-df5914993c9d4db87e4132bcc3b88efb48db5c6e.tar.gz edk2-df5914993c9d4db87e4132bcc3b88efb48db5c6e.tar.bz2 |
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>
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c index e1ac5a3..dc4ae4b 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c @@ -877,7 +877,7 @@ UpdateSkipInfoForMenu ( CHAR16 *OutputString;
UINT16 GlyphWidth;
- Width = (UINT16) gOptionBlockWidth;
+ Width = (UINT16) gOptionBlockWidth - 1;
GlyphWidth = 1;
Row = 1;
|