diff --git a/src/joystick/SDL_gamepad.c b/src/joystick/SDL_gamepad.c index 5d65991646..90924582f2 100644 --- a/src/joystick/SDL_gamepad.c +++ b/src/joystick/SDL_gamepad.c @@ -3281,7 +3281,7 @@ bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version case GAMEPAD_BLACKLIST_ANYWHERE: if (SDL_strstr(name, blacklist_word->str) != NULL) { - if (SDL_startswith(name, "PG-") { + if (SDL_startswith(name, "PG-")) { // Ipega gamepads have modes with keyboard keys in addition to gamepad controls break; }