getpar has a FUPAOPT argument which should be returned as text not as an

iVal. See pg 237 (Function Parser) of the SICS reference manual or the
comment in fupa.h

r3594 | ffr | 2012-06-06 09:07:01 +1000 (Wed, 06 Jun 2012) | 4 lines
This commit is contained in:
Ferdi Franceschini
2012-06-06 09:07:01 +10:00
committed by Douglas Clowes
parent dc230ad1ab
commit dbef490724

View File

@@ -1136,8 +1136,8 @@
PaRes.Arg[1].iVal, &fVal);
if(iRet == 1)
{
sprintf(pBueffel,"%s.%s %d = %f",argv[0],PaRes.Arg[0].text,
PaRes.Arg[1].iVal, fVal);
sprintf(pBueffel,"%s.%s %s = %f",argv[0],PaRes.Arg[0].text,
PaRes.Arg[1].text, fVal);
SCWrite(pCon,pBueffel,eValue);
return 1;
}