Print warning in case of empty pixmap in area
This commit is contained in:
parent
94e2b5edb1
commit
8e8046af6d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue