diff --git a/src/win32/DirectInput.cpp b/src/win32/DirectInput.cpp index 4a08769c..c280ced5 100644 --- a/src/win32/DirectInput.cpp +++ b/src/win32/DirectInput.cpp @@ -123,7 +123,7 @@ void winReadKey(const char *name, int num, KeyList& Keys) char buffer[80]; sprintf(buffer, "Joy%d_%s", num, name); - winReadKey(name, Keys); + winReadKey(buffer, Keys); }