From e73f3972a3f5539e9fd0354f063e060326a61ea4 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Thu, 4 Sep 2014 22:03:55 -0400
Subject: [PATCH] *fixed one stale leftover of redrawing the patchcords inside
 graph that did not conform to the new style of drawing cords

---
 pd/src/g_graph.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pd/src/g_graph.c b/pd/src/g_graph.c
index 73c837ae7..87e168f3b 100644
--- a/pd/src/g_graph.c
+++ b/pd/src/g_graph.c
@@ -820,9 +820,10 @@ void glist_redraw(t_glist *x)
                 /* redraw all the lines */
             linetraverser_start(&t, x);
             while (oc = linetraverser_next(&t))
-                sys_vgui(".x%lx.c coords l%lx %d %d %d %d\n",
-                    glist_getcanvas(x), oc,
-                        t.tr_lx1, t.tr_ly1, t.tr_lx2, t.tr_ly2);
+                canvas_updateconnection(glist_getcanvas(x), t.tr_lx1, t.tr_ly1, t.tr_lx2, t.tr_ly2, (t_int)oc);
+                //sys_vgui(".x%lx.c coords l%lx %d %d %d %d\n",
+                //    glist_getcanvas(x), oc,
+                //        t.tr_lx1, t.tr_ly1, t.tr_lx2, t.tr_ly2);
             canvas_drawredrect(x, 0);
             if (x->gl_goprect)
             {
-- 
GitLab