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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58d617429dcfb6fb1ea0f7b6cbce82266ccbb1aa;p=thirdparty%2Fsystemd.git 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 347fa12098f..3d16cd1a13a 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;