#6037 Fix key repeat expression always false

This commit is contained in:
Andrew Nelless 2017-05-18 00:32:59 +01:00
parent bae51a4406
commit 0c2b89ed21
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ MSWindowsScreen::onKey(WPARAM wParam, LPARAM lParam)
KeyModifierMask oldState = pollActiveModifiers(); KeyModifierMask oldState = pollActiveModifiers();
// check for autorepeat // check for autorepeat
if (m_keyState->testAutoRepeat(down, (lParam & 0x40000000u) == 1, button)) { if (m_keyState->testAutoRepeat(down, (lParam & 0x40000000u), button)) {
lParam |= 0x40000000u; lParam |= 0x40000000u;
} }