summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmike <michael.blumenkrantz@gmail.com>2014-10-07 13:18:56 -0400
committerzmike <michael.blumenkrantz@gmail.com>2014-10-07 14:07:13 -0400
commit7ad241b1ff212da8418af90e3be4ed4c5bd6e9f6 (patch)
tree4d39ac0dd30035194c3360766baff940041cac1a
parent6a4cadb48463bd552a47342b0560547ce9bba9fe (diff)
genlist item block recalc checks now more readable
-rw-r--r--src/lib/elm_genlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index d3e57c595..9b4d8894d 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -664,11 +664,11 @@ _calc_job(void *data)
664 itb->y = y; 664 itb->y = y;
665 itb->x = 0; 665 itb->x = 0;
666 minh += itb->minh; 666 minh += itb->minh;
667 if (minw == -1) minw = itb->minw; 667 if (minw < itb->minw)
668 else if ((!itb->must_recalc) && (minw < itb->minw))
669 { 668 {
670 minw = itb->minw; 669 minw = itb->minw;
671 minw_change = EINA_TRUE; 670 if (minw != -1)
671 minw_change = EINA_TRUE;
672 } 672 }
673 if ((sd->mode == ELM_LIST_COMPRESS) && (minw > vw)) 673 if ((sd->mode == ELM_LIST_COMPRESS) && (minw > vw))
674 { 674 {