aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-29 23:09:47 +0200
committerStapleButter <thetotalworm@gmail.com>2017-03-29 23:09:47 +0200
commita65b45a334355135b9a85923a4f9798717da0671 (patch)
tree01fa2f029a98daf452da13a3a4542007d1aea137 /src
parent99e4ad409f3c94a3e7760bdc06f57fb20c23c8da (diff)
I am a fucking idiot
Diffstat (limited to 'src')
-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;