Explorar o código

Fixed build

(cherry picked from commit fe1918a47fb8b13a76a96fd1f07e1f3ff941a4e1)
Sam Lantinga hai 6 días
pai
achega
cbea661f54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/joystick/SDL_gamepad.c

+ 1 - 1
src/joystick/SDL_gamepad.c

@@ -3275,7 +3275,7 @@ bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version
 
 
                 case GAMEPAD_BLACKLIST_ANYWHERE:
                 case GAMEPAD_BLACKLIST_ANYWHERE:
                     if (SDL_strstr(name, blacklist_word->str) != NULL) {
                     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
                             // Ipega gamepads have modes with keyboard keys in addition to gamepad controls
                             break;
                             break;
                         }
                         }