From a65b45a334355135b9a85923a4f9798717da0671 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Wed, 29 Mar 2017 23:09:47 +0200 Subject: I am a fucking idiot --- src/wx/InputConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3