diff src/video/x11/SDL_x11mouse.c @ 2765:f55c87ae336b

Final merge of Google Summer of Code 2008 work... Bring SDL to iPhone and iPod Touch by Holmes Futrell, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Oct 2008 06:46:59 +0000
parents 6fc50bdd88c0
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/x11/SDL_x11mouse.c	Wed Sep 17 08:24:51 2008 +0000
+++ b/src/video/x11/SDL_x11mouse.c	Sat Oct 04 06:46:59 2008 +0000
@@ -36,8 +36,10 @@
     SDL_XDevices = NULL;
     SDL_NumOfXDevices = 0;
 
-    if (!SDL_X11_HAVE_XINPUT)
-        return;  /* should have dynamically loaded, but wasn't available. */
+    if (!SDL_X11_HAVE_XINPUT) {
+        /* should have dynamically loaded, but wasn't available. */
+        return;
+    }
 
     /* we're getting the list of input devices */
     DevList = XListInputDevices(data->display, &numOfDevices);