#6037 Fix key repeat expression always false
This commit is contained in:
parent
bae51a4406
commit
0c2b89ed21
|
@ -1129,7 +1129,7 @@ MSWindowsScreen::onKey(WPARAM wParam, LPARAM lParam)
|
|||
KeyModifierMask oldState = pollActiveModifiers();
|
||||
|
||||
// check for autorepeat
|
||||
if (m_keyState->testAutoRepeat(down, (lParam & 0x40000000u) == 1, button)) {
|
||||
if (m_keyState->testAutoRepeat(down, (lParam & 0x40000000u), button)) {
|
||||
lParam |= 0x40000000u;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue