diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 03:11:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 03:11:42 +0200 |
commit | 0a1a0e9df00f37a210b67a11cf8f99550cafeeaf (patch) | |
tree | 35da3c9a2d6464025dc324647253966d4a63a351 /dinput/keybinding-worker.cpp | |
parent | a4c9807acacc87f323f31d252a37c0ed2029ee5b (diff) |
cleanups only
Diffstat (limited to 'dinput/keybinding-worker.cpp')
-rw-r--r-- | dinput/keybinding-worker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dinput/keybinding-worker.cpp b/dinput/keybinding-worker.cpp index a16432ae..a3331323 100644 --- a/dinput/keybinding-worker.cpp +++ b/dinput/keybinding-worker.cpp @@ -22,8 +22,8 @@ bool Key::should_process() { if (!enabled || (keycode == 0 && guid == "")) return false; - bool ret = prog1(!held || timer.elapsed_ms() > 100, - timer.start()); + bool ret = !held || timer.elapsed_ms() > 100; + timer.start(); return ret; } |