summaryrefslogtreecommitdiff
path: root/src/basic/string-util.c
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2016-02-22 20:32:04 -0800
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:57 +0200
commitbc983c987eb3f92eceb373ba4e1c2076b0b3ca88 (patch)
treeea6f34eed7297fc3cd0a7bd64835bd310603fb7b /src/basic/string-util.c
parent3c84247622c7d6ad51e7a49907995e3e48b5f472 (diff)
tree-wide: make ++/-- usage consistent WRT spacing
Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces.
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 0bde55f9d..293a15f9c 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;