summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/textplain.c b/render/textplain.c
index ec4d486e5..78539b47d 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -521,8 +521,8 @@ void textplain_reformat(struct content *c, int width, int height)
/* break at last space in line */
i = space;
line[line_count-1].length = (i + 1) - line_start;
- }
- else
+
+ } else
line[line_count-1].length = i - line_start;
}
line[line_count++].start = line_start = i + 1;