From d98e4749538119b170bd3eb2673ab9fccdb369cf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 4 Oct 2018 08:32:37 +1000 Subject: [PATCH] touchpad: align the button state log messages There's one state with a name longer than allocated but it's virtually never triggered so let's just ignore the misalignment in that case. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index d8c0bcb..27a1580 100644 --- a/src/evdev-mt-touchpad-buttons.c +++ b/src/evdev-mt-touchpad-buttons.c @@ -450,7 +450,7 @@ tp_button_handle_event(struct tp_dispatch *tp, if (current != t->button.state) evdev_log_debug(tp->device, - "button state: touch %d from %s, event %s to %s\n", + "button state: touch %d from %-20s event %-24s to %-20s\n", t->index, button_state_to_str(current), button_event_to_str(event), -- 2.7.4