mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
client: truncate value string to the column length
This commit is contained in:
parent
17c35dd1bc
commit
a3bc408ae4
@ -70,7 +70,7 @@ void proxy_properties_display(const struct proxy_interface *proxy,
|
|||||||
if (!properties[i].tostr)
|
if (!properties[i].tostr)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
display("%s%*s %-*s%-*s\n", margin,
|
display("%s%*s %-*s%-.*s\n", margin,
|
||||||
8, properties[i].is_read_write ?
|
8, properties[i].is_read_write ?
|
||||||
COLOR_BOLDGRAY " *" COLOR_OFF : "",
|
COLOR_BOLDGRAY " *" COLOR_OFF : "",
|
||||||
name_column_width, properties[i].name,
|
name_column_width, properties[i].name,
|
||||||
|
Loading…
Reference in New Issue
Block a user