Mercurial > sdl-ios-xcode
comparison src/haptic/darwin/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 | 6c8bc4d87282 |
children | 8cc00819c8d6 |
comparison
equal
deleted
inserted
replaced
3010:a6694a812119 | 3011:8f4ed5ec2b06 |
---|---|
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[numhaptics]. | 202 &SDL_hapticlist |
203 usagePage)) | 203 [numhaptics].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[numhaptics]. | 211 &SDL_hapticlist |
212 usage)) | 212 [numhaptics].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 } |