summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c2
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
index a197f80..4eb998b 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
@@ -1497,7 +1497,7 @@ MainEditorInit (
// Find mouse in System Table ConsoleInHandle
//
Status = gBS->HandleProtocol (
- gST->ConIn,
+ gST->ConsoleInHandle,
&gEfiSimplePointerProtocolGuid,
(VOID**)&MainEditor.MouseInterface
);
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
index 065f8e9..2b096d7 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
@@ -1682,7 +1682,7 @@ HMainEditorInit (
// Find mouse in System Table ConsoleInHandle
//
Status = gBS->HandleProtocol (
- gST->ConIn,
+ gST->ConsoleInHandle,
&gEfiSimplePointerProtocolGuid,
(VOID**)&HMainEditor.MouseInterface
);