Fixed lines
This commit is contained in:
parent
52cc204787
commit
368856f122
|
@ -1532,20 +1532,20 @@ static int substpattern(unsigned char *line,size_t buffersize,char *pattern,char
|
||||||
strins((char*)s,(char*)args[arg],strlen((char*)args[arg]));
|
strins((char*)s,(char*)args[arg],strlen((char*)args[arg]));
|
||||||
s+=strlen((char*)args[arg]);
|
s+=strlen((char*)args[arg]);
|
||||||
e++; /* skip %, digit is skipped later */
|
e++; /* skip %, digit is skipped later */
|
||||||
} else {
|
} else {
|
||||||
strins((char*)s,(char*)e,1);
|
strins((char*)s,(char*)e,1);
|
||||||
s++;
|
s++;
|
||||||
} /* if */
|
} /* if */
|
||||||
} else if (*e=='"') {
|
} else if (*e=='"') {
|
||||||
p=e;
|
p=e;
|
||||||
if (is_startstring(e)) { /* skip strings */
|
if (is_startstring(e)) { /* skip strings */
|
||||||
e=skipstring(e);
|
e=skipstring(e);
|
||||||
strins((char*)s,(char*)p,(e-p+1));
|
strins((char*)s,(char*)p,(e-p+1));
|
||||||
s+=(e-p+1);
|
s+=(e-p+1);
|
||||||
} else {
|
} else {
|
||||||
strins((char*)s,(char*)e,1);
|
strins((char*)s,(char*)e,1);
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
strins((char*)s,(char*)e,1);
|
strins((char*)s,(char*)e,1);
|
||||||
s++;
|
s++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user