commit e132e7a3ad5c6801f97451b7dbeea72441ddaa01
parent 4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4
Author: rsc <devnull@localhost>
Date: Wed, 10 May 2006 04:13:56 +0000
avoid double spacing
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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;