Skip to content

Commit

Permalink
Fixed bug 3999 - Build failed when try to build with configure script…
Browse files Browse the repository at this point in the history
… for Android
  • Loading branch information
slouken committed Dec 11, 2017
1 parent f1ec8a5 commit e0d0184
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/haptic/android/SDL_syshaptic.c
Expand Up @@ -165,8 +165,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
{
SDL_hapticlist_item *item;
item = HapticByDevId(((joystick_hwdata *)joystick->hwdata)->device_id);
int ret = (item != NULL ? 1 : 0);
return ret;
return (item != NULL) ? 1 : 0;
}


Expand Down

0 comments on commit e0d0184

Please sign in to comment.