mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 14:41:56 +00:00
Fixed whitespace
This commit is contained in:
@@ -1079,8 +1079,7 @@ SDL_JoystickSetLED(SDL_Joystick *joystick, Uint8 red, Uint8 green, Uint8 blue)
|
||||
if (isfreshvalue || SDL_TICKS_PASSED(SDL_GetTicks(), joystick->led_expiration)) {
|
||||
result = joystick->driver->SetLED(joystick, red, green, blue);
|
||||
joystick->led_expiration = SDL_GetTicks() + SDL_LED_MIN_REPEAT_MS;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
/* Avoid spamming the driver */
|
||||
result = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user