Subversion Repositories wimsdev

Rev

Rev 8185 | Rev 11132 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8185 Rev 11124
Line 64... Line 64...
64
    for(;*p;p++) {
64
    for(;*p;p++) {
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(". "); lastc='        ';
69
            if(lastc!=' ') printf(". ");
-
 
70
            lastc='     ';
70
            cont1: p=strchr(p,'\n');
71
            cont1: p=strchr(p,'\n');
71
            if(p==NULL) return;
72
            if(p==NULL) return;
72
            if(*(p-1)=='\\') {p++; goto cont1;}
73
            if(*(p-1)=='\\') {p++; goto cont1;}
73
            goto cont2;
74
            goto cont2;
74
          }
75
          }