I ran a global "make indent" it modified the following files.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403473
This commit is contained in:
Bob Pendleton 2009-01-09 20:43:30 +00:00
parent d088f9a9ca
commit 44fa7675c8
33 changed files with 660 additions and 502 deletions

View file

@ -199,8 +199,8 @@ SDL_SYS_HapticInit(void)
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 @@ SDL_SYS_HapticInit(void)
CFSTR(kIOHIDPrimaryUsageKey));
if (refCF) {
if (!CFNumberGetValue(refCF, kCFNumberLongType,
&SDL_hapticlist[numhaptics].
usage))
&SDL_hapticlist
[numhaptics].usage))
SDL_SetError("Haptic: Recieving device's usage.");
}
}

View file

@ -96,6 +96,7 @@ NDS_EZF_ChipReset()
}
return 0;
}
void
NDS_EZF_SetShake(u8 pos)
{

View file

@ -212,8 +212,8 @@ EnumHapticsCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pContext)
/* Get capabilities. */
SDL_hapticlist[SDL_numhaptics].capabilities.dwSize = sizeof(DIDEVCAPS);
ret = IDirectInputDevice_GetCapabilities(device,
&SDL_hapticlist[SDL_numhaptics].
capabilities);
&SDL_hapticlist
[SDL_numhaptics].capabilities);
if (FAILED(ret)) {
/* DI_SetError("Getting device capabilities",ret); */
IDirectInputDevice_Release(device);
@ -332,8 +332,8 @@ SDL_SYS_HapticOpenFromInstance(SDL_Haptic * haptic, DIDEVICEINSTANCE instance)
/* Now get the IDirectInputDevice2 interface, instead. */
ret = IDirectInputDevice_QueryInterface(device,
&IID_IDirectInputDevice2,
(LPVOID *) & haptic->hwdata->
device);
(LPVOID *) & haptic->
hwdata->device);
/* Done with the temporary one now. */
IDirectInputDevice_Release(device);
if (FAILED(ret)) {
@ -500,8 +500,8 @@ int
SDL_SYS_HapticOpen(SDL_Haptic * haptic)
{
return SDL_SYS_HapticOpenFromInstance(haptic,
SDL_hapticlist[haptic->index].
instance);
SDL_hapticlist[haptic->
index].instance);
}