summaryrefslogtreecommitdiff
path: root/src/basic/string-util.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-02-23 08:45:54 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-02-23 08:45:54 +0100
commita9ae0709416fe498de85744ce639ba6a9fc50105 (patch)
treeca014a3951bf31c20900bfefb1b41f88af36a9c5 /src/basic/string-util.c
parent16fe5e8b1d5b073c5731b170c34bddd52ccbc4ec (diff)
parent313cefa1d96ff039d31994e4ea22e6c531a99ebd (diff)
Merge pull request #2709 from vcaputo/normalize_inc_dec_usage
tree-wide: make ++/-- usage consistent WRT spacing
Diffstat (limited to 'src/basic/string-util.c')
-rw-r--r--src/basic/string-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/string-util.c b/src/basic/string-util.c
index 0bde55f9d5..293a15f9c0 100644
--- a/src/basic/string-util.c
+++ b/src/basic/string-util.c
@@ -477,7 +477,7 @@ char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigne
}
if (k > x) /* last character was wide and went over quota */
- x ++;
+ x++;
for (j = s + old_length; k < new_length && j > i; ) {
char32_t c;