From a3bc408ae49b2956d11fcf0d22d597cbd945b6fe Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Thu, 2 Aug 2018 18:01:51 -0700 Subject: [PATCH] client: truncate value string to the column length --- client/dbus-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dbus-proxy.c b/client/dbus-proxy.c index 4fcd27e8..7946bf22 100644 --- a/client/dbus-proxy.c +++ b/client/dbus-proxy.c @@ -70,7 +70,7 @@ void proxy_properties_display(const struct proxy_interface *proxy, if (!properties[i].tostr) continue; - display("%s%*s %-*s%-*s\n", margin, + display("%s%*s %-*s%-.*s\n", margin, 8, properties[i].is_read_write ? COLOR_BOLDGRAY " *" COLOR_OFF : "", name_column_width, properties[i].name,