diff options
author | Dandan Bi <dandan.bi@intel.com> | 2017-05-10 09:47:06 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-07-12 11:24:40 +0800 |
commit | 2c24df5e59172408b71bf390b75aadc753a54093 (patch) | |
tree | c510c2c30c15a4e39eb1b17436f9c9a9119549aa /Core/MdeModulePkg | |
parent | 54827dec7224c25c08cdb0d2b7dc3b743509bbf4 (diff) | |
download | edk2-platforms-2c24df5e59172408b71bf390b75aadc753a54093.tar.xz |
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>
(cherry picked from commit df5914993c9d4db87e4132bcc3b88efb48db5c6e)
Diffstat (limited to 'Core/MdeModulePkg')
-rw-r--r-- | Core/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/Core/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c index e1ac5a3223..dc4ae4bda1 100644 --- a/Core/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c +++ b/Core/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;
|