[Gridflow-cvs] [svn] commit: r4839 - /trunk/src/gridflow.cxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Nov 9 12:04:14 EST 2009


Author: matju
Date: Mon Nov  9 12:04:13 2009
New Revision: 4839

Log:
fix previous commit

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Mon Nov  9 12:04:13 2009
@@ -80,9 +80,9 @@
 	pd_error(bself,"%s: %s",bself->binbuf_string().data(),text.data());
 }
 void Barf::error(t_symbol *s, int argc, t_atom *argv) {
-	std::ostringstream os;
-	for (int i=0; i<argc; i++) os << (i ? " " : "[") << argv[i];
-        ::error("%s]: %s",os.str().data(),text.data());
+	std::ostringstream os; os << s;
+	for (int i=0; i<argc; i++) os << (i ? " " : " ") << argv[i];
+        ::error("[%s]: %s",os.str().data(),text.data());
 }
 
 void pd_oprint (std::ostream &o, int argc, t_atom *argv) {



More information about the Gridflow-cvs mailing list