summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index caed8e9de8..7c2c7fce33 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2049,6 +2049,8 @@ process_message(void)
memset(keyboard_state, 0, 256);
if (GetKeyState(VK_SHIFT) & 0x8000)
keyboard_state[VK_SHIFT] = 0x80;
+ if (GetKeyState(VK_CAPITAL) & 0x0001)
+ keyboard_state[VK_CAPITAL] = 0x01;
if (GetKeyState(VK_RMENU) & 0x8000)
{
keyboard_state[VK_MENU] = 0x80;