Browse Source

Fix a crash when using Input.get_joy_button_index_from_string()

There was a missing comma between two elements in the _buttons array
Pop0p 4 years ago
parent
commit
07fc567d03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/input_default.cpp

+ 1 - 1
main/input_default.cpp

@@ -1296,7 +1296,7 @@ static const char *_buttons[JOY_BUTTON_MAX] = {
 	"DPAD Up",
 	"DPAD Down",
 	"DPAD Left",
-	"DPAD Right"
+	"DPAD Right",
 	"Misc 1",
 	"Paddle 1",
 	"Paddle 2",