diff src/haptic/darwin/SDL_syshaptic.c @ 2547:3cfe0ae232c0 gsoc2008_force_feedback

Accidently left in hidDevice.
author Edgar Simo <bobbens@gmail.com>
date Tue, 22 Jul 2008 11:42:01 +0000
parents daf40497dcd4
children b5b8a7f4a965
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c	Tue Jul 22 11:40:43 2008 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Tue Jul 22 11:42:01 2008 +0000
@@ -205,7 +205,7 @@
 
    hidProperties = usbProperties = 0;
 
-   ret = IORegistryEntryCreateCFProperties(hidDevice, &hidProperties,
+   ret = IORegistryEntryCreateCFProperties(dev, &hidProperties,
                                            kCFAllocatorDefault,
                                            kNilOptions);
    if ((ret != KERN_SUCCESS) || !hidProperties) {