aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-08 12:35:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-08 12:35:34 +0000
commit36e5a71c76883a52c5f98d7ee4444d933a08bf4b (patch)
tree0d7d4f341be37f8c6bcdf9a41eb8f67680907bd7
parent05ee87e74024f2aefda478c2e96d7ed82c36e720 (diff)
added pd_error when sustain message is out of range
svn path=/trunk/externals/ggee/; revision=7909
-rwxr-xr-xgui/envgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/envgen.c b/gui/envgen.c
index 01e3456..79346fc 100755
--- a/gui/envgen.c
+++ b/gui/envgen.c
@@ -204,7 +204,7 @@ static void envgen_sustain(t_envgen *x, t_floatarg f)
if (f > 0 && f < x->last_state)
x->sustain_state = f;
else
- post("ERROR: sustain value not betweem 0 and %f",x->last_state);
+ pd_error(x,"sustain value not betweem 0 and %f, ignoring message", x->last_state);
}