From 3a2718d74eb38e33be8b1d493bd84840f5cc3729 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Fri, 19 Feb 2016 12:24:20 +0800 Subject: [PATCH] MdeModulePkg: HiiDatabaseDxe: HiiStringToImage() should not overwrite BltX when has next line to draw, should not overwrite the BltX to 0, instead should keep the BltX value that pass into StringToImage function. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Eric Dong Reviewed-by: Liming Gao Acked-by: Laszlo Ersek --- MdeModulePkg/Universal/HiiDatabaseDxe/Font.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c index 4b70b995f5..56b30ff6ff 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c @@ -2,7 +2,7 @@ Implementation for EFI_HII_FONT_PROTOCOL. -Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -2156,9 +2156,8 @@ HiiStringToImage ( NextLine: // - // Recalculate the start point of X/Y axis to draw multi-lines with the order of top-to-down + // Recalculate the start point of Y axis to draw multi-lines with the order of top-to-down // - BltX = 0; BltY += RowInfo[RowIndex].LineHeight; RowIndex++; -- 2.39.2