SDL: Fix some embarrassing indentation errors
Jeffrey Pfau jeffrey@endrift.com
Fri, 17 Apr 2015 01:56:31 -0700
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -142,8 +142,8 @@ player->joystick = 0;
player->joystickIndex = SIZE_MAX; #if SDL_VERSION_ATLEAST(2, 0, 0) - player->rumble.d.setRumble = _GBASDLSetRumble; - player->rumble.p = player; + player->rumble.d.setRumble = _GBASDLSetRumble; + player->rumble.p = player; #endif if (events->playersAttached >= MAX_PLAYERS) {@@ -195,7 +195,7 @@
#if SDL_VERSION_ATLEAST(2, 0, 0) player->haptic = events->haptic[player->joystickIndex]; if (player->haptic) { - SDL_HapticRumbleInit(player->haptic); + SDL_HapticRumbleInit(player->haptic); } #endif }@@ -438,7 +438,7 @@ if (!sdlRumble->p->haptic || !SDL_HapticRumbleSupported(sdlRumble->p->haptic)) {
return; } if (enable) { - SDL_HapticRumblePlay(sdlRumble->p->haptic, 1.0f, 20); + SDL_HapticRumblePlay(sdlRumble->p->haptic, 1.0f, 20); } else { SDL_HapticRumbleStop(sdlRumble->p->haptic); }