diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-10-24 02:41:58 +0200 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-24 09:15:28 +1000 |
commit | d41109a6c7e11002b00d4b8c4d65ce3ee1f9d254 (patch) | |
tree | 1d7bc6d3de9146cc2f2a2e629e612cb36938ad15 /src | |
parent | 03a863f2924d4c89b91b5379f020aaa3f419b7e5 (diff) | |
download | uGFX-d41109a6c7e11002b00d4b8c4d65ce3ee1f9d254.tar.gz uGFX-d41109a6c7e11002b00d4b8c4d65ce3ee1f9d254.tar.bz2 uGFX-d41109a6c7e11002b00d4b8c4d65ce3ee1f9d254.zip |
fixed small bug
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/list.c b/src/gwin/list.c index fe903c16..0e93555d 100644 --- a/src/gwin/list.c +++ b/src/gwin/list.c @@ -94,7 +94,7 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param) { x = 1; // the scroll area - if (gw2obj->cnt > (gw->g.height-2) / iheight || gw->g.flags & GLIST_FLG_SCROLLALWAYS) { + if ((gw2obj->cnt > (gw->g.height-2) / iheight) || (gw->g.flags & GLIST_FLG_SCROLLALWAYS)) { iwidth = gw->g.width - (SCROLLWIDTH+3); gdispFillArea(gw->g.x+iwidth+2, gw->g.y+1, SCROLLWIDTH, gw->g.height-2, gdispBlendColor(ps->fill, gw->pstyle->background, 128)); gdispDrawLine(gw->g.x+iwidth+1, gw->g.y+1, gw->g.x+iwidth+1, gw->g.y+gw->g.height-2, ps->edge); |