formatting fixes
This commit is contained in:
parent
ebdc8ce5c1
commit
73fdc16bc4
|
@ -472,8 +472,10 @@ static int dmxDeviceOnOff(DeviceIntPtr pDevice, int what)
|
|||
memset(&info, 0, sizeof(info));
|
||||
switch (what) {
|
||||
case DEVICE_INIT:
|
||||
if (dmxLocal->init) dmxLocal->init(pDev);
|
||||
if (dmxLocal->get_info) dmxLocal->get_info(pDev, &info);
|
||||
if (dmxLocal->init)
|
||||
dmxLocal->init(pDev);
|
||||
if (dmxLocal->get_info)
|
||||
dmxLocal->get_info(pDev, &info);
|
||||
if (info.keyboard) { /* XKEYBOARD makes this a special case */
|
||||
dmxKeyboardOn(pDevice, &info);
|
||||
break;
|
||||
|
@ -594,7 +596,8 @@ static void dmxProcessInputEvents(DMXInputInfo *dmxInput)
|
|||
#if 00 /*BP*/
|
||||
miPointerUpdate();
|
||||
#endif
|
||||
if (dmxInput->detached) return;
|
||||
if (dmxInput->detached)
|
||||
return;
|
||||
for (i = 0; i < dmxInput->numDevs; i += dmxInput->devs[i]->binding)
|
||||
if (dmxInput->devs[i]->process_input) {
|
||||
#if 11 /*BP*/
|
||||
|
@ -633,7 +636,8 @@ static void dmxUpdateWindowInformation(DMXInputInfo *dmxInput,
|
|||
}
|
||||
#endif
|
||||
|
||||
if (dmxInput->detached) return;
|
||||
if (dmxInput->detached)
|
||||
return;
|
||||
for (i = 0; i < dmxInput->numDevs; i += dmxInput->devs[i]->binding)
|
||||
if (dmxInput->devs[i]->update_info)
|
||||
dmxInput->devs[i]->update_info(dmxInput->devs[i]->private,
|
||||
|
@ -644,7 +648,8 @@ static void dmxCollectAll(DMXInputInfo *dmxInput)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (dmxInput->detached) return;
|
||||
if (dmxInput->detached)
|
||||
return;
|
||||
for (i = 0; i < dmxInput->numDevs; i += dmxInput->devs[i]->binding)
|
||||
if (dmxInput->devs[i]->collect_events)
|
||||
dmxInput->devs[i]->collect_events(&dmxInput->devs[i]
|
||||
|
@ -741,7 +746,8 @@ static DeviceIntPtr dmxAddDevice(DMXLocalInputInfoPtr dmxLocal)
|
|||
char *devname;
|
||||
DMXInputInfo *dmxInput;
|
||||
|
||||
if (!dmxLocal) return NULL;
|
||||
if (!dmxLocal)
|
||||
return NULL;
|
||||
dmxInput = &dmxInputs[dmxLocal->inputIdx];
|
||||
|
||||
if (dmxLocal->sendsCore) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user