summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-14 17:15:09 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-14 17:15:09 +0200
commit58d617429dcfb6fb1ea0f7b6cbce82266ccbb1aa (patch)
treeb4fe6e1250a823ae36355147547e427d6a82b7d2
parent5dcf983854c2e8314dbee239180255490ec8ae1c (diff)
core: move status line ellipsation to 50% of the line
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 347fa1209..3d16cd1a1 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -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;