diff options
author | Olivier Blin <blino@mageia.org> | 2011-03-18 17:14:23 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-03-18 17:14:23 +0000 |
commit | 581cd0a592d47ad9593c18ba50d2f08420826930 (patch) | |
tree | eb5825c94c2293d8af5ad3950ec4218ce77242c2 | |
parent | db42263a26f59222cdb75e310bd83247f00fd59f (diff) | |
download | drakx-581cd0a592d47ad9593c18ba50d2f08420826930.tar drakx-581cd0a592d47ad9593c18ba50d2f08420826930.tar.gz drakx-581cd0a592d47ad9593c18ba50d2f08420826930.tar.bz2 drakx-581cd0a592d47ad9593c18ba50d2f08420826930.tar.xz drakx-581cd0a592d47ad9593c18ba50d2f08420826930.zip |
fix ambiguous assignment (to fix build with Werror)
-rw-r--r-- | mdk-stage1/newt/listbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/newt/listbox.c b/mdk-stage1/newt/listbox.c index cdbf792ca..0048c3782 100644 --- a/mdk-stage1/newt/listbox.c +++ b/mdk-stage1/newt/listbox.c @@ -652,7 +652,7 @@ static struct eventResult listboxEvent(newtComponent co, struct event ev) { li->currItem > li->startShowItem) li->startShowItem = li->currItem > li->numItems - li->curHeight ? - li->startShowItem = li->numItems - li->curHeight : + li->numItems - li->curHeight : li->currItem; if(li->sb) newtScrollbarSet(li->sb, li->currItem + 1, li->numItems); |