Closed LRossman closed 1 year ago
My bad -- the dev
branch has no setcontrol
function in project.c. I added the function to a local branch I am working on to address issue #730 and got confused when I found some bugs in it. I'm therefore closing this bug issue since it doesn't apply to any code currently residing in the project's repository.
The
setcontrol
function in project.c, called by theEN_addcontrol
andEN_setcontrol
API functions, fails to assign the units-adjusted control setting value and the head-adjusted tank setting value to the simple control whose parameters it assigns to aScontrol
struct. More specifically, in line 1222setting
should be replaced withs
and in line 1224level
should be replaced withlvl
.