diff options
author | John Arbuckle <programmingkidx@gmail.com> | 2017-10-05 15:04:49 -0400 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-11-02 11:50:20 +0000 |
commit | fa73e146250181852c0915aa65df8d54d35485fa (patch) | |
tree | 476125e9cc1f79980f5d395e8271a954c6dbc22f /ui/cocoa.m | |
parent | 8a8c493942048b466efa38d72405f33366c55f3f (diff) | |
download | qemu-fa73e146250181852c0915aa65df8d54d35485fa.zip qemu-fa73e146250181852c0915aa65df8d54d35485fa.tar.gz qemu-fa73e146250181852c0915aa65df8d54d35485fa.tar.bz2 |
ui/cocoa.m: Fix console selection keys
Fix console selection keys so that the right console is selected.
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 20171005190449.15591-1-programmingkidx@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r-- | ui/cocoa.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -631,7 +631,7 @@ QemuCocoaView *cocoaView; // enable graphic console case Q_KEY_CODE_1 ... Q_KEY_CODE_9: // '1' to '9' keys - console_select(keycode - 11); + console_select(keycode - Q_KEY_CODE_1); break; } |