[Commits] SDL: Fixed bug 3999 - Build failed when try to build with config...

libsdl.org revision control commits-owner at libsdl.org
Mon Dec 11 14:47:34 PST 2017


details:   https://hg.libsdl.org/SDL/rev/5c8fc26757d7
changeset: 11763:5c8fc26757d7
user:      Sam Lantinga <slouken at libsdl.org>
date:      Mon Dec 11 14:44:34 2017 -0800
description:
Fixed bug 3999 - Build failed when try to build with configure script for Android

diffstat:

 src/haptic/android/SDL_syshaptic.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r c4900725a75a -r 5c8fc26757d7 src/haptic/android/SDL_syshaptic.c
--- a/src/haptic/android/SDL_syshaptic.c	Mon Dec 11 12:00:12 2017 -0800
+++ b/src/haptic/android/SDL_syshaptic.c	Mon Dec 11 14:44:34 2017 -0800
@@ -165,8 +165,7 @@
 {
     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;
 }
 
 


More information about the commits mailing list