author | KUDr |
Thu, 18 Jan 2007 23:48:04 +0000 | |
changeset 5981 | 7aa1a23cd1e4 |
parent 5980 | cec1cfd00d1e |
child 5982 | 54218ea5af1e |
src/misc_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/misc_gui.cpp Thu Jan 18 23:45:58 2007 +0000 +++ b/src/misc_gui.cpp Thu Jan 18 23:48:04 2007 +0000 @@ -1885,7 +1885,7 @@ /* Increase or decrease the value and clamp it to extremes */ value += (x >= 30) ? step : -step; - clamp(value, ce->min, ce->max); + value = clamp(value, ce->min, ce->max); // take whatever the function returns value = ce->proc(value, (x >= 30) ? 1 : -1);