stripbraces(), simplify

This commit is contained in:
rlar 2016-05-22 22:40:37 +02:00
parent 1721407359
commit 26ff93abd9
1 changed files with 1 additions and 2 deletions

View File

@ -121,7 +121,6 @@ stripbraces(SPICE_DSTRINGPTR dstr_p)
}
pscopy(&tstr, s, 0, i);
placeholder++;
t_p = spice_dstring_value(&tstr);
@ -131,7 +130,7 @@ stripbraces(SPICE_DSTRINGPTR dstr_p)
cadd(&tstr, ' ');
{
char buf[25+1];
sprintf(buf, "numparm__________%08lx", placeholder);
sprintf(buf, "numparm__________%08lx", ++placeholder);
sadd(&tstr, buf);
}
cadd(&tstr, ' ');