From 391cdf43a2ce99292576c69ffaf4b6fea5f9b250 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 28 Apr 2008 07:39:24 +0000 Subject: [PATCH] Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5138 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/BdsDxe/MemoryTest.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Universal/BdsDxe/MemoryTest.c b/MdeModulePkg/Universal/BdsDxe/MemoryTest.c index 09d3ea3339..f9396981cb 100644 --- a/MdeModulePkg/Universal/BdsDxe/MemoryTest.c +++ b/MdeModulePkg/Universal/BdsDxe/MemoryTest.c @@ -127,9 +127,9 @@ Returns: 0, 0, 0, - PosY - GLYPH_HEIGHT - 1, + PosY - EFI_GLYPH_HEIGHT - 1, SizeOfX, - SizeOfY - (PosY - GLYPH_HEIGHT - 1), + SizeOfY - (PosY - EFI_GLYPH_HEIGHT - 1), SizeOfX * sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL) ); } else if (FeaturePcdGet (PcdUgaConsumeSupport)) { @@ -140,9 +140,9 @@ Returns: 0, 0, 0, - PosY - GLYPH_HEIGHT - 1, + PosY - EFI_GLYPH_HEIGHT - 1, SizeOfX, - SizeOfY - (PosY - GLYPH_HEIGHT - 1), + SizeOfY - (PosY - EFI_GLYPH_HEIGHT - 1), SizeOfX * sizeof (EFI_UGA_PIXEL) ); } else { @@ -186,8 +186,8 @@ Returns: } PrintXY ( - (SizeOfX - StrLen (Title) * GLYPH_WIDTH) / 2, - PosY - GLYPH_HEIGHT - 1, + (SizeOfX - StrLen (Title) * EFI_GLYPH_WIDTH) / 2, + PosY - EFI_GLYPH_HEIGHT - 1, &TitleForeground, &TitleBackground, Title