summaryrefslogtreecommitdiffhomepage
path: root/opentrack/keybinding-worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/keybinding-worker.cpp')
-rw-r--r--opentrack/keybinding-worker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/keybinding-worker.cpp b/opentrack/keybinding-worker.cpp
index 8bb99b8c..a0c7178c 100644
--- a/opentrack/keybinding-worker.cpp
+++ b/opentrack/keybinding-worker.cpp
@@ -16,7 +16,7 @@
bool Key::should_process()
{
- if (!enabled || keycode == 0 && guid == "")
+ if (!enabled || (keycode == 0 && guid == ""))
return false;
bool ret = timer.elapsed_ms() > 100;
timer.start();