diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-12 23:32:22 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-13 10:54:45 +0800 |
commit | f110b7734bffe3e573ab06f0efbcb80a7bb137d4 (patch) | |
tree | 746c58ad0500a2027c7cd563bae7b583e9aa8d5a /ShellPkg/Library/UefiShellDebug1CommandsLib | |
parent | 5563281fa2b31093a1cbd415553b9264c5136e89 (diff) | |
download | edk2-f110b7734bffe3e573ab06f0efbcb80a7bb137d4.tar.gz edk2-f110b7734bffe3e573ab06f0efbcb80a7bb137d4.tar.bz2 edk2-f110b7734bffe3e573ab06f0efbcb80a7bb137d4.zip |
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c | 2 | ||||
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c index a197f80a40..4eb998bf5f 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 065f8e95a7..2b096d7168 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
);
|