chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: move status line ellipsation to 50% of the line
[elogind.git]
/
src
/
shared
/
util.c
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;
- e = ellipsize(s, emax,
75
);
+ e = ellipsize(s, emax,
50
);
if (e) {
free(s);
s = e;