changeset 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 8763183f03a8
files src/haptic/darwin/SDL_syshaptic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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) {