From a6d7b88a474ef1fb20cb257bdd5d28d321e02543 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 7 Nov 2024 15:11:17 +1000 Subject: [PATCH] tools/list-local-devices: add a space for an empty styli array Previously it was "styli:[]" which doesn't look nice enough. --- tools/list-local-devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/list-local-devices.c b/tools/list-local-devices.c index 4383b9be..b6fa8538 100644 --- a/tools/list-local-devices.c +++ b/tools/list-local-devices.c @@ -142,7 +142,7 @@ tablet_print_yaml(gpointer data, gpointer user_data) g_list_foreach(d->nodes, print_devnode, NULL); styli = libwacom_get_styli(d->dev, &nstyli); - printf(" styli:%s\n", nstyli > 0 ? "" : "[]"); + printf(" styli:%s\n", nstyli > 0 ? "" : " []"); for (int i = 0; i < nstyli; i++) { const WacomStylus *stylus = styli[i]; const char *type = "invalid";