mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 18:06:26 +00:00
Fixed bug 3999 - Build failed when try to build with configure script for Android
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user