summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-10-04 08:32:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-10-04 10:44:27 +1000
commitd98e4749538119b170bd3eb2673ab9fccdb369cf (patch)
tree57421966655e308fb6a00ffa26a03a074c859b3a /src
parent655f565fbaa737b2508844b7a7b08c5a71a7bfba (diff)
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 <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-mt-touchpad-buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index d8c0bcbc..27a15805 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),