From 079d1742768ac7579a973c94773c8c9643e1bb07 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Fri, 23 May 2014 16:43:28 -0400 Subject: [PATCH] *cosmetic fixes to the source --- pd/src/g_graph.c | 6 +++--- pd/src/g_scalar.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pd/src/g_graph.c b/pd/src/g_graph.c index c11a95bea..ccc6ac419 100644 --- a/pd/src/g_graph.c +++ b/pd/src/g_graph.c @@ -102,9 +102,9 @@ void glist_add(t_glist *x, t_gobj *y) canvas_isgroup((t_canvas *)y)) { t_canvas *templatecanvas = - canvas_templatecanvas_forgroup((t_canvas *)y); - t_template *tmpl = canvas_findtemplate(templatecanvas); - canvas_redrawallfortemplate(tmpl, 0); + canvas_templatecanvas_forgroup((t_canvas *)y); + t_template *tmpl = canvas_findtemplate(templatecanvas); + canvas_redrawallfortemplate(tmpl, 0); } } diff --git a/pd/src/g_scalar.c b/pd/src/g_scalar.c index 4f6f26527..c9e663d25 100644 --- a/pd/src/g_scalar.c +++ b/pd/src/g_scalar.c @@ -677,9 +677,9 @@ static void scalar_groupvis(t_scalar *x, t_glist *owner, t_template *template, for (y = gl->gl_list; y; y = y->g_next) { if (pd_class(&y->g_pd) == canvas_class && - ((t_glist *)y)->gl_svg) + ((t_glist *)y)->gl_svg) { - scalar_groupvis(x, owner, template, (t_glist *)y, gl, vis); + scalar_groupvis(x, owner, template, (t_glist *)y, gl, vis); } t_parentwidgetbehavior *wb = pd_getparentwidget(&y->g_pd); if (!wb) continue; -- GitLab