[PATCH evemu 2/7] Add missing break statement
Peter Hutterer
peter.hutterer at who-t.net
Tue Aug 18 18:03:25 PDT 2015
Introduced in 79b29f097e97
And indent correctly while we're here.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/evemu.c | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/evemu.c b/src/evemu.c
index b64f6f0..61a199f 100644
--- a/src/evemu.c
+++ b/src/evemu.c
@@ -336,18 +336,19 @@ static void write_desc(const struct evemu_device *dev, FILE *fp)
j, libevdev_event_code_get_name(i, j));
switch(i) {
case EV_ABS:
- fprintf(fp, "# Value %6d\n"
- "# Min %6d\n"
- "# Max %6d\n"
- "# Fuzz %6d\n"
- "# Flat %6d\n"
- "# Resolution %d\n",
- evemu_get_abs_current_value(dev, j),
- evemu_get_abs_minimum(dev, j),
- evemu_get_abs_maximum(dev,j),
- evemu_get_abs_fuzz(dev, j),
- evemu_get_abs_flat(dev, j),
- evemu_get_abs_resolution(dev, j));
+ fprintf(fp, "# Value %6d\n"
+ "# Min %6d\n"
+ "# Max %6d\n"
+ "# Fuzz %6d\n"
+ "# Flat %6d\n"
+ "# Resolution %d\n",
+ evemu_get_abs_current_value(dev, j),
+ evemu_get_abs_minimum(dev, j),
+ evemu_get_abs_maximum(dev,j),
+ evemu_get_abs_fuzz(dev, j),
+ evemu_get_abs_flat(dev, j),
+ evemu_get_abs_resolution(dev, j));
+ break;
case EV_LED:
case EV_SW:
state = libevdev_get_event_value(dev->evdev, i, j);
--
2.4.3
More information about the Input-tools
mailing list