]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
ShellPkg/[hex]edit: Fix wrongly use gST->ConIn as the console handle
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / MainHexEditor.c
index 065f8e95a706673e0693e6fb0ae67ccf861bf9b9..2b096d71688a39824ca2a38dc7889b4710bfced7 100644 (file)
@@ -1682,7 +1682,7 @@ HMainEditorInit (
   // Find mouse in System Table ConsoleInHandle\r
   //\r
   Status = gBS->HandleProtocol (\r
-                gST->ConIn,\r
+                gST->ConsoleInHandle,\r
                 &gEfiSimplePointerProtocolGuid,\r
                 (VOID**)&HMainEditor.MouseInterface\r
                 );\r