mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-04-14 11:54:16 +00:00
syndaemon: fix abysimal indentation in dp_get_device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit e4958186fa)
This commit is contained in:
@@ -487,24 +487,24 @@ dp_get_device(Display *dpy)
|
||||
properties = XListDeviceProperties(dpy, dev, &nprops);
|
||||
if (!properties || !nprops)
|
||||
{
|
||||
fprintf(stderr, "No properties on device '%s'.\n",
|
||||
info[ndevices].name);
|
||||
error = 1;
|
||||
goto unwind;
|
||||
}
|
||||
fprintf(stderr, "No properties on device '%s'.\n",
|
||||
info[ndevices].name);
|
||||
error = 1;
|
||||
goto unwind;
|
||||
}
|
||||
|
||||
while(nprops--)
|
||||
{
|
||||
if (properties[nprops] == synaptics_property)
|
||||
break;
|
||||
}
|
||||
if (properties[nprops] == synaptics_property)
|
||||
break;
|
||||
}
|
||||
if (!nprops)
|
||||
{
|
||||
fprintf(stderr, "No synaptics properties on device '%s'.\n",
|
||||
info[ndevices].name);
|
||||
error = 1;
|
||||
goto unwind;
|
||||
}
|
||||
fprintf(stderr, "No synaptics properties on device '%s'.\n",
|
||||
info[ndevices].name);
|
||||
error = 1;
|
||||
goto unwind;
|
||||
}
|
||||
|
||||
break; /* Yay, device is suitable */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user