- for the return value, use the command name (which might be an alias)
instead of the original object name
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user