summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-13 12:44:47 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-13 12:45:35 -0400
commit3788c69b099e96e123b54b014cd29a08a0063c07 (patch)
treebd6da435b64c893fed6356b5915360ffefb26e53
parent4bfa007ec0837d8164f7e70c6158862e6f8a9b4c (diff)
bugfix: correctly calculate minimum flowlayout rows
CID 1132740
-rw-r--r--src/bin/e_flowlayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_flowlayout.c b/src/bin/e_flowlayout.c
index f77385837..4e93e68e2 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)
824 sd->cols = 1; 824 sd->cols = 1;
825 count = eina_list_count(sd->items); 825 count = eina_list_count(sd->items);
826 sd->rows = sd->h / minh; 826 sd->rows = sd->h / minh;
827 if (count < sd->cols) sd->rows = count; 827 if (count < sd->rows) sd->rows = count;
828 sd->cols = 0; 828 sd->cols = 0;
829 if (sd->rows > 0) 829 if (sd->rows > 0)
830 { 830 {