From: Lennart Poettering Date: Thu, 14 Aug 2014 15:15:09 +0000 (+0200) Subject: core: move status line ellipsation to 50% of the line X-Git-Tag: v216~116 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=58d617429dcfb6fb1ea0f7b6cbce82266ccbb1aa;hp=5dcf983854c2e8314dbee239180255490ec8ae1c core: move status line ellipsation to 50% of the line http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html --- 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;