From 2e826390a4d485beadea43ae7daa04a7ccdf1586 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Jun 2015 10:16:28 +1000 Subject: [PATCH] tools: drop some superfluous parenthesis Signed-off-by: Peter Hutterer --- tools/event-debug.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/event-debug.c b/tools/event-debug.c index 669f6eab..7aeac067 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -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);