raster pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=1859cf0556d3c5f61de74b51e0ac9f71f3d64096

commit 1859cf0556d3c5f61de74b51e0ac9f71f3d64096
Author: Shinwoo Kim <cinoo....@samsung.com>
Date:   Mon Feb 5 20:02:06 2018 +0900

    eina_tiler: fix typo of rect comparing
---
 src/lib/eina/eina_tiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
    // 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)

-- 


Reply via email to