Subversion Repositories wimsdev

Rev

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

Rev 10 Rev 3718
Line 72... Line 72...
72
{
72
{
73
    int i,n;
73
    int i,n;
74
    char *pp, *pe, *pt;
74
    char *pp, *pe, *pt;
75
 
75
 
76
    pp=strstr(p,gapprompt); if(pp==NULL) return;
76
    pp=strstr(p,gapprompt); if(pp==NULL) return;
77
    while((pt=strstr(pp,"\\\n"))!=NULL) strcpy(pt,pt+2);
77
    while((pt=strstr(pp,"\\\n"))!=NULL) ovlstrcpy(pt,pt+2);
78
    while(pp!=NULL) {
78
    while(pp!=NULL) {
79
        pp+=strlen(gapprompt);
79
        pp+=strlen(gapprompt);
80
        pe=strstr(pp,gapprompt);
80
        pe=strstr(pp,gapprompt);
81
        if(pe>=pp) *pe=0;
81
        if(pe>=pp) *pe=0;
82
        if(pe!=NULL && pp>=pe) {
82
        if(pe!=NULL && pp>=pe) {