summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-12-19 14:33:02 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-12-19 14:33:02 +0900
commitcb384fe88bdc452218d47268bd97a545320d6075 (patch)
treecadeacdb4e991d721539e479edf8f58caabb943d /src
parentb259cfafe5a758b219f0e80256653358a6a6d62b (diff)
Revert "evas/map - commeted out insane compare."
This reverts commit b259cfafe5a758b219f0e80256653358a6a6d62b. my fault. the compare is reasonable.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_map.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index 13a40a8..5f132f7 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -1228,9 +1228,6 @@ evas_object_map_update(Evas_Object *eo_obj,
1228 RGBA_Map_Point *pts, *pt; 1228 RGBA_Map_Point *pts, *pt;
1229 1229
1230 if (!obj) return; 1230 if (!obj) return;
1231
1232//This compare looks useless.
1233/*
1234 if (obj->map->spans) 1231 if (obj->map->spans)
1235 { 1232 {
1236 if (obj->map->spans->x != x || obj->map->spans->y != y || 1233 if (obj->map->spans->x != x || obj->map->spans->y != y ||
@@ -1244,7 +1241,7 @@ evas_object_map_update(Evas_Object *eo_obj,
1244 } 1241 }
1245 1242
1246 if (!obj->changed_map) return; 1243 if (!obj->changed_map) return;
1247*/ 1244
1248 if (obj->map->cur.map && obj->map->spans && obj->map->cur.map->count != obj->map->spans->count) 1245 if (obj->map->cur.map && obj->map->spans && obj->map->cur.map->count != obj->map->spans->count)
1249 { 1246 {
1250 EINA_COW_WRITE_BEGIN(evas_object_map_cow, obj->map, Evas_Object_Map_Data, map_write) 1247 EINA_COW_WRITE_BEGIN(evas_object_map_cow, obj->map, Evas_Object_Map_Data, map_write)