summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-06-01 18:29:36 +0100
committerThomas Adam <thomas@xteddy.org>2017-06-01 18:29:36 +0100
commit73b9328c1fcf659dd884b8574cf7fabf0557ccae (patch)
tree1a06eb8b88f124cdc226bb9b8d11eb16a84d0d91 /utf8.c
parent92d86586b713ae89f3be40efbbd31089ec378e6b (diff)
parent248aa54bfdef25ff95db3c3426651f9894c652c5 (diff)
Merge branch 'obsd-master'
Conflicts: window-buffer.c
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index e2802936..8afdac97 100644
--- a/utf8.c
+++ b/utf8.c
@@ -427,8 +427,7 @@ utf8_rtrimcstr(const char *s, u_int width)
next = end - 1;
at = 0;
- for (;;)
- {
+ for (;;) {
if (at + next->width > width) {
next++;
break;