From be520bf6e03f08f5d888f87d1d9fb6b26d855fcb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 30 Nov 2015 12:55:06 +1000 Subject: [PATCH] tablet: add two missing curly braces Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c index 7e1c2d0f..af4ee95c 100644 --- a/src/evdev-tablet.c +++ b/src/evdev-tablet.c @@ -399,14 +399,15 @@ tablet_check_notify_axes(struct tablet_dispatch *tablet, if (axis_update_needed && !tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY) && !tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) { - if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY)) + if (tablet_has_status(tablet, + TABLET_TOOL_ENTERING_PROXIMITY)) { tablet_notify_proximity(&device->base, time, tool, LIBINPUT_TABLET_TOOL_PROXIMITY_IN, tablet->changed_axes, axes); - else { + } else { enum libinput_tablet_tool_tip_state tip_state; tip_state = tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT) ?