mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 10:25:06 +03:00
core: move status line ellipsation to 50% of the line
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html
This commit is contained in:
parent
5dcf983854
commit
58d617429d
@ -3056,7 +3056,7 @@ int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char
|
||||
if (emax < 3)
|
||||
emax = 3;
|
||||
|
||||
e = ellipsize(s, emax, 75);
|
||||
e = ellipsize(s, emax, 50);
|
||||
if (e) {
|
||||
free(s);
|
||||
s = e;
|
||||
|
Loading…
Reference in New Issue
Block a user