Mercurial > sdl-ios-xcode
diff src/haptic/darwin/SDL_syshaptic.c @ 3013:8cc00819c8d6
Reverted Bob's indent checkin
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 21:50:26 +0000 |
parents | 8f4ed5ec2b06 |
children | b717ce4dfe36 |
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c Sat Jan 10 18:32:24 2009 +0000 +++ b/src/haptic/darwin/SDL_syshaptic.c Sat Jan 10 21:50:26 2009 +0000 @@ -199,8 +199,8 @@ CFSTR(kIOHIDPrimaryUsagePageKey)); if (refCF) { if (!CFNumberGetValue(refCF, kCFNumberLongType, - &SDL_hapticlist - [numhaptics].usagePage)) + &SDL_hapticlist[numhaptics]. + usagePage)) SDL_SetError ("Haptic: Recieving device's usage page."); refCF = @@ -208,8 +208,8 @@ CFSTR(kIOHIDPrimaryUsageKey)); if (refCF) { if (!CFNumberGetValue(refCF, kCFNumberLongType, - &SDL_hapticlist - [numhaptics].usage)) + &SDL_hapticlist[numhaptics]. + usage)) SDL_SetError("Haptic: Recieving device's usage."); } }