diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 19db1a33ad..5bc5a3903d 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -842,8 +842,7 @@ _OnSysChar( ch = simplify_key(ch, &modifiers); // remove the SHIFT modifier for keys where it's already included, e.g., // '(' and '*' - if (ch < 0x100 && !isalpha(ch) && isprint(ch)) - modifiers &= ~MOD_MASK_SHIFT; + modifiers = may_remove_shift_modifier(modifiers, ch); // Unify modifiers somewhat. No longer use ALT to set the 8th bit. ch = extract_modifiers(ch, &modifiers, FALSE, NULL); |