From 11b70094aa66a85bc06e5c160cdc15139df94cb7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 23 May 2011 10:12:42 +1000 Subject: [PATCH] syndaemon: fix abysimal indentation in dp_get_device. Signed-off-by: Peter Hutterer (cherry picked from commit e4958186fae78770bc739be701b849f28c87cf11) --- tools/syndaemon.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/syndaemon.c b/tools/syndaemon.c index 47e0e6a..327f479 100644 --- a/tools/syndaemon.c +++ b/tools/syndaemon.c @@ -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 */ }