misc_gui.c
branch0.5
changeset 5429 a1f3d6573141
parent 5422 bd6873dd1c40
child 5470 9fce095970bb
--- a/misc_gui.c	Thu Feb 08 10:04:57 2007 +0000
+++ b/misc_gui.c	Thu Feb 08 10:19:03 2007 +0000
@@ -1822,7 +1822,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);