From: Peter Hutterer Date: Mon, 22 Jun 2015 00:16:28 +0000 (+1000) Subject: tools: drop some superfluous parenthesis X-Git-Tag: 0.18.0~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e826390a4d485beadea43ae7daa04a7ccdf1586;p=platform%2Fupstream%2Flibinput.git tools: drop some superfluous parenthesis Signed-off-by: Peter Hutterer --- 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);