diff options
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 427cf82025..b05a47fc90 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -476,7 +476,7 @@ static bool translate_key_input(MSG *msg) msg->message != WM_KEYUP && msg->message != WM_SYSKEYUP) return false; - bool ext = msg->lParam & KF_EXTENDED; + bool ext = HIWORD(msg->lParam) & KF_EXTENDED; int mpkey = mp_w32_vkey_to_mpkey(msg->wParam, ext); // If we don't want the key, return false so TranslateMessage can convert |