diff options
author | rsc <devnull@localhost> | 2006-05-10 04:13:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-05-10 04:13:56 +0000 |
commit | e132e7a3ad5c6801f97451b7dbeea72441ddaa01 (patch) | |
tree | 685a8d3f6d36b797297d5b89bb5c0b4dfe510b80 /src/cmd/fmt.c | |
parent | 4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4 (diff) | |
download | plan9port-e132e7a3ad5c6801f97451b7dbeea72441ddaa01.tar.gz plan9port-e132e7a3ad5c6801f97451b7dbeea72441ddaa01.tar.bz2 plan9port-e132e7a3ad5c6801f97451b7dbeea72441ddaa01.zip |
avoid double spacing
Diffstat (limited to 'src/cmd/fmt.c')
-rw-r--r-- | src/cmd/fmt.c | 6 |
1 files changed, 1 insertions, 5 deletions
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; |