summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinwoo Kim <cinoo.kim@samsung.com>2018-02-05 20:02:06 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2018-02-05 20:02:06 +0900
commitbb5f4aa857e5fbc1cb067317e690fcc5aae40a24 (patch)
treee39b53754623061c15e05ca218b2d267abf471d6
parent26d73cbae1f28567673d5711e5dbbc964769aa67 (diff)
eina_tiler: fix typo of rect comparing
-rw-r--r--src/lib/eina/eina_tiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_tiler.c b/src/lib/eina/eina_tiler.c
index 7597d1e286..e8ea2eb858 100644
--- a/src/lib/eina/eina_tiler.c
+++ b/src/lib/eina/eina_tiler.c
@@ -1216,7 +1216,7 @@ _rect_same(Eina_Rectangle *rec1, Eina_Rectangle *rec2)
1216 // this is ok because all the rects being compared will be aligned to 8bytes 1216 // this is ok because all the rects being compared will be aligned to 8bytes
1217 Rectangle_Same *same1 = (Rectangle_Same *)rec1; 1217 Rectangle_Same *same1 = (Rectangle_Same *)rec1;
1218 Rectangle_Same *same2 = (Rectangle_Same *)rec2; 1218 Rectangle_Same *same2 = (Rectangle_Same *)rec2;
1219 return ((same1->x == same2->y) && (same1->y == same2->y)); 1219 return ((same1->x == same2->x) && (same1->y == same2->y));
1220} 1220}
1221 1221
1222EAPI Eina_Bool eina_tiler_rect_add(Eina_Tiler *t, const Eina_Rectangle *r) 1222EAPI Eina_Bool eina_tiler_rect_add(Eina_Tiler *t, const Eina_Rectangle *r)