diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-23 10:12:42 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-26 12:11:33 +1000 |
commit | e4958186fae78770bc739be701b849f28c87cf11 (patch) | |
tree | ec8c0f3d0272a5ad757cc3b3e1649a1e5fda91ab | |
parent | 0c8971c80c21d7541d9614ac67a8d4954d4859ec (diff) |
syndaemon: fix abysimal indentation in dp_get_device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tools/syndaemon.c | 26 |
1 files 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 */ } |