Commit 079d1742 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*cosmetic fixes to the source

parent df1b5f32
......@@ -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);
}
}
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment