summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 24990a00d3..865edc8aa6 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3106,7 +3106,7 @@ is_readable_console(SOCKET sock) /* call this for console only */
ret = 1;
}
else if (ir.EventType == KEY_EVENT && !ir.Event.KeyEvent.bKeyDown &&
- ir.Event.KeyEvent.wVirtualKeyCode == 18 /* VK_MENU */ &&
+ ir.Event.KeyEvent.wVirtualKeyCode == VK_MENU /* ALT key */ &&
ir.Event.KeyEvent.uChar.UnicodeChar) {
ret = 1;
}