From 98bfb9f187b38e35296e51174fcb3a508c3ec98f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 31 Aug 2018 14:52:37 +1000 Subject: [PATCH] touchpad: style fix, add missing curlies Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 18289ea..afdd3e9 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -1124,9 +1124,9 @@ tp_thumb_detect(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) } /* If the thumb moves by more than 7mm, it's not a resting thumb */ - if (t->state == TOUCH_BEGIN) + if (t->state == TOUCH_BEGIN) { t->thumb.initial = t->point; - else if (t->state == TOUCH_UPDATE) { + } else if (t->state == TOUCH_UPDATE) { struct device_float_coords delta; struct phys_coords mm; -- 2.7.4