aboutsummaryrefslogtreecommitdiff
path: root/gui/envgen.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-09-15 11:53:40 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-09-15 11:53:40 +0000
commit2b575004921176d43108b47c2b595e8eb80d87fe (patch)
treec2f88484a464115a6e505839cd979007df50fa3c /gui/envgen.c
parent1e3891a7e0d3b60e89d0968b14e826ea92c28e15 (diff)
some bugfixes, GOP still not working
svn path=/trunk/externals/ggee/; revision=968
Diffstat (limited to 'gui/envgen.c')
-rwxr-xr-xgui/envgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/envgen.c b/gui/envgen.c
index ceaf65f..054d836 100755
--- a/gui/envgen.c
+++ b/gui/envgen.c
@@ -155,7 +155,7 @@ void envgen_float(t_envgen *x, t_floatarg f)
(x->finalvalues[state] - x->finalvalues[state-1])/
(x->duration[state] - x->duration[state-1]);
- val *= val*(x->max - x->min);
+ val *= (x->max - x->min);
outlet_float(x->x_obj.ob_outlet,val);
}