forked from enlightenment/efl
evas: more hardening of evas access map.x
This commit is contained in:
parent
e1bd14f933
commit
1b4a2c0ac9
|
@ -231,7 +231,7 @@ evas_object_clip_recalc(Evas_Object_Protected_Data *obj)
|
||||||
|
|
||||||
evas_object_coords_recalc(eo_obj, obj);
|
evas_object_coords_recalc(eo_obj, obj);
|
||||||
|
|
||||||
if (EINA_UNLIKELY((obj->map->cur.map) && (obj->map->cur.usemap)))
|
if (EINA_UNLIKELY((!!obj->map) && (obj->map->cur.map) && (obj->map->cur.usemap)))
|
||||||
{
|
{
|
||||||
cx = obj->map->cur.map->normal_geometry.x;
|
cx = obj->map->cur.map->normal_geometry.x;
|
||||||
cy = obj->map->cur.map->normal_geometry.y;
|
cy = obj->map->cur.map->normal_geometry.y;
|
||||||
|
|
Loading…
Reference in New Issue