Rev 11124 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11124 | Rev 11132 | ||
---|---|---|---|
Line 65... | Line 65... | ||
65 | if(*p=='\n') { |
65 | if(*p=='\n') { |
66 | if(!isspace(lastc)) {printf(" "); lastc=' ';} |
66 | if(!isspace(lastc)) {printf(" "); lastc=' ';} |
67 | cont2: p=find_word_start(p); |
67 | cont2: p=find_word_start(p); |
68 | if(*p=='!' || *p==':') { |
68 | if(*p=='!' || *p==':') { |
69 | if(lastc!=' ') printf(". "); |
69 | if(lastc!=' ') printf(". "); |
70 | lastc=' '; |
70 | lastc=' '; |
71 | cont1: p=strchr(p,'\n'); |
71 | cont1: p=strchr(p,'\n'); |
72 | if(p==NULL) return; |
72 | if(p==NULL) return; |
73 | if(*(p-1)=='\\') {p++; goto cont1;} |
73 | if(*(p-1)=='\\') {p++; goto cont1;} |
74 | goto cont2; |
74 | goto cont2; |
75 | } |
75 | } |