tools: drop some superfluous parenthesis

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-06-22 10:16:28 +10:00
parent aa46338e8a
commit 2e826390a4

View 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);