[Gridflow-cvs] [svn] commit: r6754 - /trunk/src/classes_gui.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Mar 6 18:36:38 EST 2011


Author: matju
Date: Sun Mar  6 18:36:38 2011
New Revision: 6754

Log:
remove "print: " from within [display] when showing a grid

Modified:
    trunk/src/classes_gui.cxx

Modified: trunk/src/classes_gui.cxx
==============================================================================
--- trunk/src/classes_gui.cxx (original)
+++ trunk/src/classes_gui.cxx Sun Mar  6 18:36:38 2011
@@ -149,7 +149,7 @@
 		ostringstream text;
 		if (s) text << *s; else text << "print";
 		prefix = text.str();
-		t_atom2 a[1]; a[0]=gensym(prefix.data());
+		t_atom2 a[]={s ? gensym(prefix.data()) : &s_};
 		pd_typedmess(&pd_objectmaker,gensym("#print"),1,a);
 		gp = (BFObject *)pd_newest();
 		dest = 0;



More information about the Gridflow-cvs mailing list