projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dcf983
)
core: move status line ellipsation to 50% of the line
author
Lennart Poettering
<lennart@poettering.net>
Thu, 14 Aug 2014 15:15:09 +0000
(17:15 +0200)
committer
Lennart 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
patch
|
blob
|
history
diff --git
a/src/shared/util.c
b/src/shared/util.c
index
347fa12
..
3d16cd1
100644
(file)
--- 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;