chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
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 347fa12098f4ce1d4ec0d03b8d478e9dcbdb8fed..3d16cd1a13a5c52d4a30d955a5235adcefe8c3c7 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;
if (emax < 3)
emax = 3;
- e = ellipsize(s, emax,
75
);
+ e = ellipsize(s, emax,
50
);
if (e) {
free(s);
s = e;
if (e) {
free(s);
s = e;