[Gridflow-cvs] [svn] commit: r5570 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun May 2 19:29:11 EDT 2010


Author: matju
Date: Sun May  2 19:29:10 2010
New Revision: 5570

Log:
[args]: don't bang upon empty comma-message

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun May  2 19:29:10 2010
@@ -129,7 +129,7 @@
 		//outlet_anything2(outlets[sargc],j-k,av+k);
 		t_text *t = (t_text *)canvas_getabstop(mom);
 		if (!t->te_inlet) RAISE("can't send init-messages, because object has no [inlet]");
-		pd_anything2((t_pd *)t->te_inlet,j-k,av+k);
+		if (j-k) pd_anything2((t_pd *)t->te_inlet,j-k,av+k);
 	}
 }
 void Args::process_args (int argc, t_atom *argv) {



More information about the Gridflow-cvs mailing list