Print warning in case of empty pixmap in area

This commit is contained in:
o9000 2017-03-04 12:23:23 +01:00
parent 94e2b5edb1
commit 8e8046af6d

View file

@ -384,6 +384,8 @@ void draw_tree(Area *a)
a->height,
a->posx,
a->posy);
else
fprintf(stderr, RED "%s %d: area %s has no pixmap!!!" RESET "\n", __FILE__, __LINE__, a->name);
for (GList *l = a->children; l; l = l->next)
draw_tree((Area *)l->data);