aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-09-19 14:58:20 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-09-19 14:58:20 +0200
commit7e9a73397bce23b7356b953c74301540fa91f015 (patch)
tree1128b062ec29dddd1f160ce0eb329fe22ee3e15d
parent6557dec05b6f013f9bef392f95187b44f3d75831 (diff)
downloadmblaze-7e9a73397bce23b7356b953c74301540fa91f015.tar.gz
mflow: only accept flowed line with final space when reflowing
-rw-r--r--mflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mflow.c b/mflow.c
index 6a9d55b..6405b28 100644
--- a/mflow.c
+++ b/mflow.c
@@ -188,7 +188,7 @@ main(int argc, char *argv[])
continue;
}
- if (rd > 0 && line[rd-1] == ' ') { // flowed line
+ if (reflow && rd > 0 && line[rd-1] == ' ') { // flowed line
if (delsp)
line[--rd] = 0;
flowed(quotes, line, rd);