[Gridflow-cvs] [svn] commit: r4574 - /trunk/base/flow_objects2.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 12:02:25 EST 2009


Author: matju
Date: Sun Nov  1 12:02:25 2009
New Revision: 4574

Log:
[gf/lol]: fix crash in box_dotted

Modified:
    trunk/base/flow_objects2.c

Modified: trunk/base/flow_objects2.c
==============================================================================
--- trunk/base/flow_objects2.c (original)
+++ trunk/base/flow_objects2.c Sun Nov  1 12:02:25 2009
@@ -290,14 +290,13 @@
 	post("doesn't work with DesireData");
 #endif
 }
-extern t_widgetbehavior text_widgetbehavior;
 \def 0 box_dotted (int r, int g, int b) {
 #ifndef DESIREDATA
 	BEGIN
 	wire_each(wire,ouch) {
 		t_object *t = (t_object *)wire->to;
 		int x1,y1,x2,y2;
-		text_widgetbehavior.w_getrectfn((t_gobj *)wire->to,can,&x1,&y1,&x2,&y2);
+		gobj_getrect((t_gobj *)wire->to,can,&x1,&y1,&x2,&y2);
 		sys_vgui(".x%lx.c delete %lxRECT\n",long(can),long(t));
 		sys_vgui(".x%lx.c create rectangle %d %d %d %d -outline #00aa66 -dash {3 5 3 5} -tags %lxRECT\n",
 			long(can),x1,y1,x2,y2,long(t));



More information about the Gridflow-cvs mailing list