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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Apr 28 14:13:19 EDT 2008


Author: matju
Date: Mon Apr 28 14:13:18 2008
New Revision: 3686

Log:
typos in previous commit

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Mon Apr 28 14:13:18 2008
@@ -535,7 +535,7 @@
 	m = funcall_lookup(bself,"anything");
 	if (m) {SETSYMBOL(argv+0,gensym(buf)); m(bself->self,argc+1,argv); return;}
 	pd_error((t_pd *)bself, "method '%s' not found for inlet %d in class '%s'",selector->s_name,winlet,pd_classname(bself));
-    } catch (Barf &oozy) {pd_error(bself,"%s",oozy->text);}
+    } catch (Barf &oozy) {pd_error(bself,"%s",oozy.text);}
 }
 static void BFObject_anything0 (BFObject *self, t_symbol *s, int argc, t_atom2 *argv) {
 	BFObject_anything(self,0,s,argc,argv);
@@ -590,11 +590,11 @@
 		if (argv[k].a_type==A_SYMBOL) pd_typedmess((t_pd *)bself,argv[k].a_w.w_symbol,j-k-1,argv+k+1);
 	}
 	return bself;
-    } catch (Barf &oozy) {pd_error(bself,"%s",oozy->text); return 0;}
+    } catch (Barf &oozy) {pd_error(bself,"%s",oozy.text); return 0;}
 }
 
 static void BFObject_delete (BFObject *bself) {
-	try {delete bself->self;} catch (Barf &oozy) {pd_error(bself,"%s",oozy->text);}
+	try {delete bself->self;} catch (Barf &oozy) {pd_error(bself,"%s",oozy.text);}
 	bself->ninlets_set(1,false);
 	delete[] bself->inlets;
 	delete[] bself->outlets;
@@ -652,7 +652,7 @@
 		while (ninlets>n) {
 			ninlets--;
 			inlet_free(inlets[ninlets]->inlet);
-			pd_free(inlets[ninlets]);
+			pd_free((t_pd *)inlets[ninlets]);
 		}
 	}
 	if (draw) BFObject_redraw(this);
@@ -839,5 +839,5 @@
 	signal(SIGABRT,SIG_DFL);
 	signal(SIGBUS, SIG_DFL);
 	atexit(gridflow_unsetup);
-    } catch (Barf &oozy) {post("Init_gridflow error: %s",oozy->text);}
-}
+    } catch (Barf &oozy) {post("Init_gridflow error: %s",oozy.text);}
+}



More information about the Gridflow-cvs mailing list