aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-07-13 08:26:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-07-13 08:26:44 +0000
commite674edc9d95beb8618552820634af28561398999 (patch)
treea08762cb65670dc5567825d45b6fc0054197356b /src
parent215b7f2747b8b8d8c4a4c7afd36acce031c8a02c (diff)
return "" if calculated length is <= 0 (and not just <0)
svn path=/trunk/externals/zexy/; revision=3341
Diffstat (limited to 'src')
-rw-r--r--src/list2symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list2symbol.c b/src/list2symbol.c
index f0a1a1f..51a6ea2 100644
--- a/src/list2symbol.c
+++ b/src/list2symbol.c
@@ -62,7 +62,7 @@ static void list2symbol_bang(t_list2symbol *x)
length+=strlen(buffer);
}
- if (length<0){
+ if (length<=0){
outlet_symbol(x->x_obj.ob_outlet, gensym(""));
return;
}