tavoid double spacing - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit e132e7a3ad5c6801f97451b7dbeea72441ddaa01
parent 4e81d4f6d6e83a81ef70dbf9dba0c403947b51b4
Author: rsc 
Date:   Wed, 10 May 2006 04:13:56 +0000

avoid double spacing

Diffstat:
  M src/cmd/fmt.c                       |       6 +-----

1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/cmd/fmt.c b/src/cmd/fmt.c
t@@ -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;