[Gridflow-cvs] [svn] commit: r4040 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Jul 17 12:03:28 EDT 2008


Author: matju
Date: Thu Jul 17 12:03:28 2008
New Revision: 4040

Log:
put object's construction binbuf in every pd_error use that happens through RAISE/Barf.

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Thu Jul 17 12:03:28 2008
@@ -73,8 +73,8 @@
 }
 
 void Barf::error(BFObject *bself) {
-	if (bself) pd_error(bself,"%s",text.data());
-	else        ::error(      "%s",text.data());
+	if (bself) pd_error(bself,"%s: %s",bself->binbuf_string().data(),text.data());
+	else        ::error(      "%s: %s",bself->binbuf_string().data(),text.data());
 }
 
 void pd_oprint (std::ostream &o, int argc, t_atom *argv) {



More information about the Gridflow-cvs mailing list