# HG changeset patch # User Edgar Simo # Date 1218009231 0 # Node ID b081c72b739c73fd08b325e553006607aeee99c7 # Parent 63ea27a96a96d451b71f0b8dde7834b32769e5e7 Fixed typo. diff -r 63ea27a96a96 -r b081c72b739c src/haptic/win32/SDL_syshaptic.c --- a/src/haptic/win32/SDL_syshaptic.c Wed Aug 06 07:51:30 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Wed Aug 06 07:53:51 2008 +0000 @@ -177,7 +177,7 @@ sizeof(DIDEVICEINSTANCE)); /* Open the device */ - ret = IDirectInput_CreateDevice( dinput, &instance.guidInstance, + ret = IDirectInput_CreateDevice( dinput, &pdidInstance.guidInstance, &device, NULL ); if (FAILED(ret)) { /* DI_SetError("Creating DirectInput device",ret); */