avoid double spacing

This commit is contained in:
rsc 2006-05-10 04:13:56 +00:00
parent 4e81d4f6d6
commit e132e7a3ad

View file

@ -144,12 +144,8 @@ parseline(char *line, Word **words, int *nwordp)
} }
/* how long is this word? */ /* how long is this word? */
for(l=0; line[l]; l++) for(l=0; line[l]; l++)
if(line[l]==' ' || line[l]=='\t'){ if(line[l]==' ' || line[l]=='\t')
if(join)
while(line[l]==' ' || line[l]=='\t')
l++;
break; break;
}
words = addword(words, nwordp, line, l, indent, bol); words = addword(words, nwordp, line, l, indent, bol);
bol = 0; bol = 0;
line += l; line += l;