Mercurial > sdl-ios-xcode
diff src/haptic/win32/SDL_syshaptic.c @ 2786:6bacfecbf27e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Nov 2008 02:21:53 +0000 |
parents | 0c544c2eff77 |
children | 8f4ed5ec2b06 |
line wrap: on
line diff
--- 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;