From 3bc85e36c1deabbdc5eae8029665ac2f5c4db12e Mon Sep 17 00:00:00 2001 From: xgu3 Date: Wed, 13 Dec 2006 03:52:13 +0000 Subject: Fix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and UgaHeight, but Columns and Rows are not initialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2092 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EdkModulePkg') diff --git a/EdkModulePkg/Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.c b/EdkModulePkg/Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.c index 473e73ff7b..40e89a9170 100644 --- a/EdkModulePkg/Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.c +++ b/EdkModulePkg/Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.c @@ -101,7 +101,7 @@ GRAPHICS_CONSOLE_DEV mGraphicsConsoleDevTemplate = { }, { { 80, 25, 0, 0, 0, 0 }, // Mode 0 - { 80, 50, 0, 0, 0, 0 }, // Mode 1 + { 80, 50, 0, 0, 0, 0 }, // Mode 1 { 0, 0, 0, 0, 0, 0 } // Mode 2 }, (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *) NULL, -- cgit v1.2.3