From a65b45a334355135b9a85923a4f9798717da0671 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Wed, 29 Mar 2017 23:09:47 +0200 Subject: [PATCH] I am a fucking idiot --- src/wx/InputConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/InputConfig.cpp b/src/wx/InputConfig.cpp index 3120bf05..010b7a96 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;