# HG changeset patch # User Edgar Simo # Date 1218009273 0 # Node ID 3ee319d9800a61d084cdc2c8fa60d2bc5c9f5d5c # Parent b081c72b739c73fd08b325e553006607aeee99c7 Fixed another typo. diff -r b081c72b739c -r 3ee319d9800a src/haptic/win32/SDL_syshaptic.c --- 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); */