Commit 42cb26a2 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*added tmpl check to remove compile warning

parent 1e317c5a
......@@ -245,7 +245,7 @@ void glist_delete(t_glist *x, t_gobj *y)
if (chkdsp) canvas_update_dsp();
if (drawcommand)
if (!(canvas_isgroup(canvas) && canvas->gl_unloading))
if (tmpl && !(canvas_isgroup(canvas) && canvas->gl_unloading))
canvas_redrawallfortemplate(tmpl, 1);
Supports Markdown
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