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>
This commit is contained in:
Peter Hutterer 2018-10-04 08:32:37 +10:00
parent 655f565fba
commit d98e474953

View file

@ -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),