src/haptic/win32/SDL_syshaptic.c
changeset 2786 6bacfecbf27e
parent 2761 0c544c2eff77
child 3011 8f4ed5ec2b06
--- a/src/haptic/win32/SDL_syshaptic.c	Tue Nov 25 02:12:19 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Tue Nov 25 02:21:53 2008 +0000
@@ -105,11 +105,11 @@
 static void
 DI_SetError(const char *str, HRESULT err)
 {
-	/*
-    SDL_SetError("Haptic: %s - %s: %s", str,
-                 DXGetErrorString8A(err), DXGetErrorDescription8A(err));
-	 */
-	SDL_SetError("Haptic error %s", str);
+    /*
+       SDL_SetError("Haptic: %s - %s: %s", str,
+       DXGetErrorString8A(err), DXGetErrorDescription8A(err));
+     */
+    SDL_SetError("Haptic error %s", str);
 }
 
 
@@ -154,7 +154,7 @@
     }
 
     ret = CoCreateInstance(&CLSID_DirectInput, NULL, CLSCTX_INPROC_SERVER,
-                           &IID_IDirectInput, (LPVOID)&dinput);
+                           &IID_IDirectInput, (LPVOID) & dinput);
     if (FAILED(ret)) {
         DI_SetError("CoCreateInstance", ret);
         return -1;