ShellPkg/[hex]edit: Fix wrongly use gST->ConIn as the console handle
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
(cherry picked from commit f110b7734b)
			
			
This commit is contained in:
		| @@ -1497,7 +1497,7 @@ MainEditorInit ( | ||||
|   // Find mouse in System Table ConsoleInHandle | ||||
|   // | ||||
|   Status = gBS->HandleProtocol ( | ||||
|                 gST->ConIn, | ||||
|                 gST->ConsoleInHandle, | ||||
|                 &gEfiSimplePointerProtocolGuid, | ||||
|                 (VOID**)&MainEditor.MouseInterface | ||||
|                 ); | ||||
|   | ||||
| @@ -1682,7 +1682,7 @@ HMainEditorInit ( | ||||
|   // Find mouse in System Table ConsoleInHandle | ||||
|   // | ||||
|   Status = gBS->HandleProtocol ( | ||||
|                 gST->ConIn, | ||||
|                 gST->ConsoleInHandle, | ||||
|                 &gEfiSimplePointerProtocolGuid, | ||||
|                 (VOID**)&HMainEditor.MouseInterface | ||||
|                 ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user