Fixed bug 3999 - Build failed when try to build with configure script for Android
This commit is contained in:
parent
aef30f74b7
commit
eb219e2a04
1 changed files with 1 additions and 2 deletions
|
@ -165,8 +165,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
|
||||||
{
|
{
|
||||||
SDL_hapticlist_item *item;
|
SDL_hapticlist_item *item;
|
||||||
item = HapticByDevId(((joystick_hwdata *)joystick->hwdata)->device_id);
|
item = HapticByDevId(((joystick_hwdata *)joystick->hwdata)->device_id);
|
||||||
int ret = (item != NULL ? 1 : 0);
|
return (item != NULL) ? 1 : 0;
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue