From bb93f9fd93748ae88adadd4ead3ce1a2c0b0288d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 23 Aug 2016 10:19:56 +1000 Subject: [PATCH] tablet: fix minor coding style issue Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c index b02bf7ab..3ddb5436 100644 --- a/src/evdev-tablet.c +++ b/src/evdev-tablet.c @@ -226,8 +226,9 @@ tablet_update_tool(struct tablet_dispatch *tablet, tablet_set_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY); tablet_unset_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY); } - else if (!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY)) + else if (!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY)) { tablet_set_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY); + } } static inline double