core: move status line ellipsation to 50% of the line
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Aug 2014 15:15:09 +0000 (17:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Aug 2014 15:15:09 +0000 (17:15 +0200)
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021591.html

src/shared/util.c

index 347fa12..3d16cd1 100644 (file)
@@ -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;