Fixed build

This commit is contained in:
Sam Lantinga 2022-04-22 09:36:39 -07:00
parent d9b5805ba5
commit 04bf7c9434

View file

@ -1322,7 +1322,7 @@ RAWINPUT_JoystickRumbleTriggers(SDL_Joystick *joystick, Uint16 left_rumble, Uint
if (!SUCCEEDED(hr)) {
return SDL_SetError("Setting vibration failed: 0x%lx\n", hr);
}
return 0:
return 0;
} else {
return SDL_SetError("Controller isn't correlated yet, try hitting a button first");
}