diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-29 11:07:05 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-29 11:07:05 +0000 |
commit | 6c310dfb78cdbda612b9f5850097580a5e3aa95c (patch) | |
tree | b5f187af3bec56f5c00ad24a9a929de40c4303db /MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | |
parent | 2721fabc5353114660dc53ac04939d29cb685263 (diff) | |
download | edk2-platforms-6c310dfb78cdbda612b9f5850097580a5e3aa95c.tar.xz |
Enable wide string for title and help string
Sign-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13371 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c index 28ed0348ed..7edbdb6229 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c @@ -477,6 +477,7 @@ DisplayForm ( UINT16 NumberOfLines;
EFI_STATUS Status;
UI_MENU_OPTION *MenuOption;
+ UINT16 GlyphWidth;
Handle = Selection->Handle;
MenuItemCount = 0;
@@ -528,7 +529,8 @@ DisplayForm ( NumberOfLines = 1;
ArrayEntry = 0;
- for (; GetLineByWidth (StringPtr, Width, &ArrayEntry, &OutputString) != 0x0000;) {
+ GlyphWidth = 1;
+ for (; GetLineByWidth (StringPtr, Width, &GlyphWidth,&ArrayEntry, &OutputString) != 0x0000;) {
//
// If there is more string to process print on the next row and increment the Skip value
//
|