eina_tiler: fix typo of rect comparing

This commit is contained in:
Shinwoo Kim 2018-02-05 20:02:06 +09:00
parent 26d73cbae1
commit bb5f4aa857
1 changed files with 1 additions and 1 deletions

View File

@ -1216,7 +1216,7 @@ _rect_same(Eina_Rectangle *rec1, Eina_Rectangle *rec2)
// this is ok because all the rects being compared will be aligned to 8bytes
Rectangle_Same *same1 = (Rectangle_Same *)rec1;
Rectangle_Same *same2 = (Rectangle_Same *)rec2;
return ((same1->x == same2->y) && (same1->y == same2->y));
return ((same1->x == same2->x) && (same1->y == same2->y));
}
EAPI Eina_Bool eina_tiler_rect_add(Eina_Tiler *t, const Eina_Rectangle *r)