mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
5563281fa2
commit
f110b7734b
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue