aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/fmt.c b/src/cmd/fmt.c
index 59c14133..f2ebb7bf 100644
--- a/src/cmd/fmt.c
+++ b/src/cmd/fmt.c
@@ -210,7 +210,7 @@ printwords(Word **w, int nw)
nsp = nspaceafter(w[i-1]->text);
if(col+nsp+utflen(w[i]->text) > extraindent+length)
break; /* fold line */
- if(!join && n != 0 && w[i]->bol)
+ if(!join && w[i]->bol)
break;
for(j=0; j<nsp; j++)
Bputc(&bout, ' '); /* emit space; another word will follow */