src/joystick/darwin/SDL_sysjoystick.c
changeset 2120 2c835d58faad
parent 2110 21942f552734
child 2287 15a242fca6c4
--- a/src/joystick/darwin/SDL_sysjoystick.c	Thu Jun 14 06:32:36 2007 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu Jun 14 13:21:29 2007 +0000
@@ -693,10 +693,10 @@
 */
 
         /* Filter device list to non-keyboard/mouse stuff */
-        if ( (device->usagePage != kHIDPage_GenericDesktop) ||
-             ((device->usage != kHIDUsage_GD_Joystick &&
-               device->usage != kHIDUsage_GD_GamePad &&
-               device->usage != kHIDUsage_GD_MultiAxisController)) ) {
+        if ((device->usagePage != kHIDPage_GenericDesktop) ||
+            ((device->usage != kHIDUsage_GD_Joystick &&
+              device->usage != kHIDUsage_GD_GamePad &&
+              device->usage != kHIDUsage_GD_MultiAxisController))) {
 
             /* release memory for the device */
             HIDDisposeDevice(&device);