diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-14 18:43:06 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-14 18:43:00 -0400 |
commit | 83ff889f6d08473ac5323b13e17c6f9d70052856 (patch) | |
tree | a63115174cc29c5735e929eb7ada731cc48d40fa | |
parent | 47ddbede05c932cfd5a980d6743df87d351788e8 (diff) | |
download | efl-83ff889f6d08473ac5323b13e17c6f9d70052856.tar.gz |
eina: fix eina_tiler_equal to not always return true
ref e3f4f4457d1614912cd43fc9db3dd07a7a8fe911
broken by D996
@fix
-rw-r--r-- | src/lib/eina/eina_tiler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eina/eina_tiler.c b/src/lib/eina/eina_tiler.c index 9e7635b459..7597d1e286 100644 --- a/src/lib/eina/eina_tiler.c +++ b/src/lib/eina/eina_tiler.c @@ -1556,17 +1556,17 @@ eina_tiler_equal(const Eina_Tiler *t1, while((rect1) && (rect2)) { if (!eina_rectangles_intersect(rect1, rect2)) - break; + goto cleanup; if ((rect1->x != rect2->x) || (rect1->y != rect2->y) || (rect1->w != rect2->w) || (rect1->h != rect2->h)) - break; + goto cleanup; next_t1 = eina_iterator_next(itr1, (void**)&rect1); next_t2 = eina_iterator_next(itr2, (void**)&rect2); if (next_t1 != next_t2) - break; + goto cleanup; if (!next_t1 && !next_t2) break; |