plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 2d8bbdeafa9c58298fb5cea48c9b23781fdbbd67
parent bebed446d09081a3cd7e25bdb536de1364e50cd6
Author: rsc <devnull@localhost>
Date:   Wed, 18 Jan 2006 16:58:56 +0000

fix -j

Diffstat:
Msrc/cmd/fmt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 */