Skip to content

Commit c7a964a

Browse files
furious programmingsuve
authored andcommitted
#42 — SDL_JoystickHasLED — invalid parameter removed
According to the official documentation, the function "SDL_JoystickHasLED" has one parameter, which is the joystick handle.
1 parent 6277102 commit c7a964a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/sdljoystick.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ function SDL_JoystickRumbleTriggers(joystick: PSDL_Joystick; left_rumble: cuint1
476476
*
477477
* \return SDL_TRUE, or SDL_FALSE if this joystick does not have a modifiable LED
478478
*}
479-
function SDL_JoystickHasLED(joystick: PSDL_Joystick; button: cint32): TSDL_Bool; cdecl;
479+
function SDL_JoystickHasLED(joystick: PSDL_Joystick): TSDL_Bool; cdecl;
480480
external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_JoystickHasLED' {$ENDIF} {$ENDIF};
481481

482482
{**

0 commit comments

Comments
 (0)