src/haptic/win32/SDL_syshaptic.c
changeset 3011 8f4ed5ec2b06
parent 2786 6bacfecbf27e
child 3013 8cc00819c8d6
--- a/src/haptic/win32/SDL_syshaptic.c	Fri Jan 09 20:41:31 2009 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Fri Jan 09 20:43:30 2009 +0000
@@ -212,8 +212,8 @@
     /* Get capabilities. */
     SDL_hapticlist[SDL_numhaptics].capabilities.dwSize = sizeof(DIDEVCAPS);
     ret = IDirectInputDevice_GetCapabilities(device,
-                                             &SDL_hapticlist[SDL_numhaptics].
-                                             capabilities);
+                                             &SDL_hapticlist
+                                             [SDL_numhaptics].capabilities);
     if (FAILED(ret)) {
         /* DI_SetError("Getting device capabilities",ret); */
         IDirectInputDevice_Release(device);
@@ -332,8 +332,8 @@
     /* Now get the IDirectInputDevice2 interface, instead. */
     ret = IDirectInputDevice_QueryInterface(device,
                                             &IID_IDirectInputDevice2,
-                                            (LPVOID *) & haptic->hwdata->
-                                            device);
+                                            (LPVOID *) & haptic->
+                                            hwdata->device);
     /* Done with the temporary one now. */
     IDirectInputDevice_Release(device);
     if (FAILED(ret)) {
@@ -500,8 +500,8 @@
 SDL_SYS_HapticOpen(SDL_Haptic * haptic)
 {
     return SDL_SYS_HapticOpenFromInstance(haptic,
-                                          SDL_hapticlist[haptic->index].
-                                          instance);
+                                          SDL_hapticlist[haptic->
+                                                         index].instance);
 }