mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eliminate magic number
This commit is contained in:
parent
81e7573a64
commit
28030f7b54
Notes:
git
2022-09-09 00:46:31 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue