comparison 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
comparison
equal deleted inserted replaced
3012:7e30c2dc7783 3013:8cc00819c8d6
197 refCF = 197 refCF =
198 CFDictionaryGetValue(hidProperties, 198 CFDictionaryGetValue(hidProperties,
199 CFSTR(kIOHIDPrimaryUsagePageKey)); 199 CFSTR(kIOHIDPrimaryUsagePageKey));
200 if (refCF) { 200 if (refCF) {
201 if (!CFNumberGetValue(refCF, kCFNumberLongType, 201 if (!CFNumberGetValue(refCF, kCFNumberLongType,
202 &SDL_hapticlist 202 &SDL_hapticlist[numhaptics].
203 [numhaptics].usagePage)) 203 usagePage))
204 SDL_SetError 204 SDL_SetError
205 ("Haptic: Recieving device's usage page."); 205 ("Haptic: Recieving device's usage page.");
206 refCF = 206 refCF =
207 CFDictionaryGetValue(hidProperties, 207 CFDictionaryGetValue(hidProperties,
208 CFSTR(kIOHIDPrimaryUsageKey)); 208 CFSTR(kIOHIDPrimaryUsageKey));
209 if (refCF) { 209 if (refCF) {
210 if (!CFNumberGetValue(refCF, kCFNumberLongType, 210 if (!CFNumberGetValue(refCF, kCFNumberLongType,
211 &SDL_hapticlist 211 &SDL_hapticlist[numhaptics].
212 [numhaptics].usage)) 212 usage))
213 SDL_SetError("Haptic: Recieving device's usage."); 213 SDL_SetError("Haptic: Recieving device's usage.");
214 } 214 }
215 } 215 }
216 CFRelease(hidProperties); 216 CFRelease(hidProperties);
217 } 217 }