check pixmap_size_get() return in e_pointer

CID 1195448
This commit is contained in:
Mike Blumenkrantz 2014-04-04 13:19:24 -04:00
parent 4d8920df06
commit c17d33368c
1 changed files with 4 additions and 2 deletions

View File

@ -798,8 +798,10 @@ e_pointer_type_pop(E_Pointer *p,
{
int w, h;
e_pixmap_size_get(p->pixmap, &w, &h);
_e_pointer_canvas_resize(p, w, h);
if (e_pixmap_size_get(p->pixmap, &w, &h))
_e_pointer_canvas_resize(p, w, h);
else
_e_pointer_canvas_resize(p, 1, 1);
}
}
}