discomfitor pushed a commit to branch enlightenment-0.18.

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

commit 3788c69b099e96e123b54b014cd29a08a0063c07
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