diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-10-26 13:32:48 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-10-26 13:32:48 +0100 |
commit | a99174b8c549eaf26e9fd2206d9a38f5bc71956c (patch) | |
tree | e6454995d780d688923db440253068fdf85136dd /src/gwin/gwin_list.c | |
parent | a61b4a71159f7387d904254adf5a957332e8ce39 (diff) | |
download | uGFX-a99174b8c549eaf26e9fd2206d9a38f5bc71956c.tar.gz uGFX-a99174b8c549eaf26e9fd2206d9a38f5bc71956c.tar.bz2 uGFX-a99174b8c549eaf26e9fd2206d9a38f5bc71956c.zip |
GWIN list toggle bug compile error fix
Diffstat (limited to 'src/gwin/gwin_list.c')
-rw-r--r-- | src/gwin/gwin_list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/gwin_list.c b/src/gwin/gwin_list.c index 265053e1..d1039b74 100644 --- a/src/gwin/gwin_list.c +++ b/src/gwin/gwin_list.c @@ -211,7 +211,7 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param); // select down case 0: for (i = 0, qi = gfxQueueASyncPeek(&gw2obj->list_head); qi; qi = gfxQueueASyncNext(qi), i++) { - if ((qi2li->flags & GLIST_FLG_SELECTED)) { + if (qi2li->flags & GLIST_FLG_SELECTED) { qix = gfxQueueASyncNext(qi); if (qix) { qi2li->flags &=~ GLIST_FLG_SELECTED; @@ -229,7 +229,7 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param); qix = 0; for (i = 0; qi; qix = qi, qi = gfxQueueASyncNext(qi), i++) { - if ((qi2li->flags & GLIST_FLG_SELECTED)) + if (qi2li->flags & GLIST_FLG_SELECTED) { if (qix) { qi2li->flags &=~ GLIST_FLG_SELECTED; qix2li->flags |= GLIST_FLG_SELECTED; |