Fixed a sget bug from POLDI. Returns OK instead of number

This commit is contained in:
2014-10-21 16:28:06 +02:00
parent b319461531
commit be058abdef
3 changed files with 9 additions and 2 deletions

View File

@@ -2524,7 +2524,7 @@ static int UpdateHdbNode(SConnection * pCon, SicsInterp * pSics,
}
status = UpdateHipadabaPar(targetNode, newValue, pCon);
ReleaseHdbValue(&newValue);
if (status == 1) {
if (status == 1 && SCinMacro(pCon) == 0) {
SCSendOK(pCon);
}
return status;