cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=743d7da92fcdf032455af5ca3d67add0edd28d43
commit 743d7da92fcdf032455af5ca3d67add0edd28d43 Author: Rajeev Ranjan <rajee...@samsung.com> Date: Fri Feb 14 10:01:30 2014 +0900 eina: fix in eina_rectangle_pool to make sorting effective Summary: This patch fixes the bug related to sorting not happening in eina_rectangle_pool Reviewers: cedric, raster, seoz, Hermet Differential Revision: https://phab.enlightenment.org/D556 Signed-off-by: Cedric BAIL <cedric.b...@samsung.com> --- src/lib/eina/eina_rectangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_rectangle.c b/src/lib/eina/eina_rectangle.c index 85cf310..5ae680b 100644 --- a/src/lib/eina/eina_rectangle.c +++ b/src/lib/eina/eina_rectangle.c @@ -437,7 +437,7 @@ eina_rectangle_pool_request(Eina_Rectangle_Pool *pool, int w, int h) return NULL; /* Sort empty if dirty */ - if (pool->sorted) + if (!pool->sorted) { pool->empty = eina_list_sort(pool->empty, 0, EINA_COMPARE_CB(_eina_rectangle_cmp)); --