tools: align device notify output better
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 3 Jan 2017 00:03:47 +0000 (10:03 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 3 Jan 2017 00:14:52 +0000 (10:14 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/event-debug.c

index 479c0a77f0a4fda5e2a43272af3dc0babe56524a..1e48d9fc1c9eabc8b4e001bb5cdb0eb039f91b2a 100644 (file)
@@ -169,7 +169,7 @@ print_device_notify(struct libinput_event *ev)
                libinput_device_group_set_user_data(group, (void*)group_id);
        }
 
-       printf("%-33s %5s %7s group%d",
+       printf("%-33s %5s %7s group%-2d",
               libinput_device_get_name(dev),
               libinput_seat_get_physical_name(seat),
               libinput_seat_get_logical_name(seat),