discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e0a5cd6e7de1c0c33b2da80b3a72e0014c0244ed

commit e0a5cd6e7de1c0c33b2da80b3a72e0014c0244ed
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Mar 13 12:44:47 2014 -0400

    bugfix: correctly calculate minimum flowlayout rows
    
    CID 1132740
---
 src/bin/e_flowlayout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_flowlayout.c b/src/bin/e_flowlayout.c
index f773858..4e93e68 100644
--- a/src/bin/e_flowlayout.c
+++ b/src/bin/e_flowlayout.c
@@ -824,7 +824,7 @@ _e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd)
                sd->cols = 1;
              count = eina_list_count(sd->items);
              sd->rows = sd->h / minh;
-             if (count < sd->cols) sd->rows = count;
+             if (count < sd->rows) sd->rows = count;
              sd->cols = 0;
              if (sd->rows > 0)
                {

-- 


Reply via email to