aboutsummaryrefslogtreecommitdiff
path: root/src/wx/InputConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/InputConfig.cpp')
-rw-r--r--src/wx/InputConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/InputConfig.cpp b/src/wx/InputConfig.cpp
index 3120bf0..010b7a9 100644
--- a/src/wx/InputConfig.cpp
+++ b/src/wx/InputConfig.cpp
@@ -228,7 +228,7 @@ void InputConfigDialog::OnKeyDown(wxKeyEvent& event)
return;
}
- if (pollid >= 12) return;
+ if (id >= 12) return;
keymapping[id] = code;