diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-03 10:51:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-03 10:51:55 +0000 |
commit | e3ecf08e1047e25df6b48f7b9a2b69f741ed842a (patch) | |
tree | 775e64605ac1e378f713d4828a10bcd080815e79 /gui | |
parent | d410fac7cf7945e47dfb36ccc47acf57ef65cbb5 (diff) |
added error report to [sustain( message
svn path=/trunk/externals/ggee/; revision=7888
Diffstat (limited to 'gui')
-rwxr-xr-x | gui/envgen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/envgen.c b/gui/envgen.c index bc33708..01e3456 100755 --- a/gui/envgen.c +++ b/gui/envgen.c @@ -202,7 +202,9 @@ void envgen_release(t_envgen* x) { static void envgen_sustain(t_envgen *x, t_floatarg f) { if (f > 0 && f < x->last_state) - x->sustain_state = f; + x->sustain_state = f; + else + post("ERROR: sustain value not betweem 0 and %f",x->last_state); } |