- for the return value, use the command name (which might be an alias)

instead of the original object name
This commit is contained in:
zolliker
2007-02-23 12:11:28 +00:00
parent 5574087ecd
commit 4ddd6e8f3c

View File

@ -1109,7 +1109,7 @@ static void ErrReport(pEVControl self)
sprintf(pBueffel,"%s.%s = %g",self->pName,"CurrentValue", fPos);
SCWrite(pCon,pBueffel,eValue);
*/
SCPrintf(pCon, eValue, "%s = %g", self->pName, fPos);
SCPrintf(pCon, eValue, "%s = %g", argv[0], fPos);
return 1;
}
return 0;