From e132e7a3ad5c6801f97451b7dbeea72441ddaa01 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 10 May 2006 04:13:56 +0000 Subject: avoid double spacing --- src/cmd/fmt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/cmd') diff --git a/src/cmd/fmt.c b/src/cmd/fmt.c index 362dcf41..f2ebb7bf 100644 --- a/src/cmd/fmt.c +++ b/src/cmd/fmt.c @@ -144,12 +144,8 @@ parseline(char *line, Word **words, int *nwordp) } /* how long is this word? */ for(l=0; line[l]; l++) - if(line[l]==' ' || line[l]=='\t'){ - if(join) - while(line[l]==' ' || line[l]=='\t') - l++; + if(line[l]==' ' || line[l]=='\t') break; - } words = addword(words, nwordp, line, l, indent, bol); bol = 0; line += l; -- cgit v1.2.3