diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-16 19:06:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-16 19:06:59 +0200 |
commit | 28deb29d72809b009b83dd8365fbae3043684f14 (patch) | |
tree | a7f85dd88f8e6e2df83eb54137bb1f36f9affaff | |
parent | 583d6d12f404f67197d7037991a57ef2a038ad4d (diff) |
win32-shortcuts: drop null keycode
-rw-r--r-- | opentrack/shortcuts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h index 576b5384..63d91829 100644 --- a/opentrack/shortcuts.h +++ b/opentrack/shortcuts.h @@ -54,6 +54,8 @@ public: bool should_process() { + if (keycode == 0) + return false; bool ret = timer.elapsed_ms() > 100; timer.start(); return ret; |