Print warning in case of empty pixmap in area
This commit is contained in:
@@ -384,6 +384,8 @@ void draw_tree(Area *a)
|
|||||||
a->height,
|
a->height,
|
||||||
a->posx,
|
a->posx,
|
||||||
a->posy);
|
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)
|
for (GList *l = a->children; l; l = l->next)
|
||||||
draw_tree((Area *)l->data);
|
draw_tree((Area *)l->data);
|
||||||
|
|||||||
Reference in New Issue
Block a user