diff src/haptic/win32/SDL_syshaptic.c @ 3011:8f4ed5ec2b06

I ran a global "make indent" it modified the following files.
author Bob Pendleton <bob@pendleton.com>
date Fri, 09 Jan 2009 20:43:30 +0000
parents 6bacfecbf27e
children 8cc00819c8d6
line wrap: on
line diff
--- 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);
 }