projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11ccd9
)
eina: fix in eina_rectangle_pool to make sorting effective
author
Rajeev Ranjan
<rajeev.r@samsung.com>
Fri, 14 Feb 2014 01:01:30 +0000
(10:01 +0900)
committer
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 14 Feb 2014 01:04:15 +0000
(10:04 +0900)
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.bail@samsung.com>
src/lib/eina/eina_rectangle.c
patch
|
blob
|
history
diff --git
a/src/lib/eina/eina_rectangle.c
b/src/lib/eina/eina_rectangle.c
index
85cf310
..
5ae680b
100644
(file)
--- 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));