evas/map - commeted out insane compare.

cedric, is it just typo?
This commit is contained in:
ChunEon Park 2013-12-19 14:12:23 +09:00
parent a6cc00369f
commit b259cfafe5
1 changed files with 4 additions and 1 deletions

View File

@ -1228,6 +1228,9 @@ evas_object_map_update(Evas_Object *eo_obj,
RGBA_Map_Point *pts, *pt;
if (!obj) return;
//This compare looks useless.
/*
if (obj->map->spans)
{
if (obj->map->spans->x != x || obj->map->spans->y != y ||
@ -1241,7 +1244,7 @@ evas_object_map_update(Evas_Object *eo_obj,
}
if (!obj->changed_map) return;
*/
if (obj->map->cur.map && obj->map->spans && obj->map->cur.map->count != obj->map->spans->count)
{
EINA_COW_WRITE_BEGIN(evas_object_map_cow, obj->map, Evas_Object_Map_Data, map_write)