diff src/haptic/win32/SDL_syshaptic.c @ 2614:3ee319d9800a gsoc2008_force_feedback

Fixed another typo.
author Edgar Simo <bobbens@gmail.com>
date Wed, 06 Aug 2008 07:54:33 +0000
parents b081c72b739c
children 088907e9a2bb
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 07:53:51 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 07:54:33 2008 +0000
@@ -177,7 +177,7 @@
          sizeof(DIDEVICEINSTANCE));
 
    /* Open the device */
-   ret = IDirectInput_CreateDevice( dinput, &pdidInstance.guidInstance,
+   ret = IDirectInput_CreateDevice( dinput, &pdidInstance->guidInstance,
                                     &device, NULL );
    if (FAILED(ret)) {
       /* DI_SetError("Creating DirectInput device",ret); */