tools: drop some superfluous parenthesis
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 22 Jun 2015 00:16:28 +0000 (10:16 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 22 Jun 2015 00:32:33 +0000 (10:32 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/event-debug.c

index 669f6eabbbf3cda5a6730602dbb4f4154132f8b0..7aeac067cce0530cbbd33c52bd7638a389a9562b 100644 (file)
@@ -157,13 +157,13 @@ print_device_notify(struct libinput_event *ev)
        if (libinput_device_get_size(dev, &w, &h) == 0)
                printf("\tsize %.2f/%.2fmm", w, h);
 
-       if (libinput_device_config_tap_get_finger_count((dev)))
+       if (libinput_device_config_tap_get_finger_count(dev))
            printf(" tap");
-       if (libinput_device_config_left_handed_is_available((dev)))
+       if (libinput_device_config_left_handed_is_available(dev))
            printf(" left");
-       if (libinput_device_config_scroll_has_natural_scroll((dev)))
+       if (libinput_device_config_scroll_has_natural_scroll(dev))
            printf(" scroll-nat");
-       if (libinput_device_config_calibration_has_matrix((dev)))
+       if (libinput_device_config_calibration_has_matrix(dev))
            printf(" calib");
 
        scroll_methods = libinput_device_config_scroll_get_methods(dev);