diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-08-08 19:01:44 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-08-08 19:01:44 +1000 |
commit | 1012ab75a4fb49aee0a42f8d24f1e76844a6c319 (patch) | |
tree | 68d1b8b18a4eabccff1f179da7162f9e558d4d28 | |
parent | e65b1db192c264093663bbae093754e619ac333f (diff) | |
download | uGFX-1012ab75a4fb49aee0a42f8d24f1e76844a6c319.tar.gz uGFX-1012ab75a4fb49aee0a42f8d24f1e76844a6c319.tar.bz2 uGFX-1012ab75a4fb49aee0a42f8d24f1e76844a6c319.zip |
Adjust code styling to match all other code
-rw-r--r-- | src/gwin/gcontainer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gwin/gcontainer.c b/src/gwin/gcontainer.c index 0cca4092..2d711ffd 100644 --- a/src/gwin/gcontainer.c +++ b/src/gwin/gcontainer.c @@ -95,9 +95,8 @@ static coord_t BorderSize(GHandle gh) { return (gh->flags & GWIN_CONTAINER_BORDE static void DrawSimpleContainer(GWidgetObject *gw, void *param) { (void)param; - if ((gw->g.flags & GWIN_CONTAINER_TRANSPARENT) == 0) { + if (!(gw->g.flags & GWIN_CONTAINER_TRANSPARENT)) gdispGFillArea(gw->g.display, gw->g.x, gw->g.y, gw->g.width, gw->g.height, gw->pstyle->background); - } if ((gw->g.flags & GWIN_CONTAINER_BORDER)) gdispGDrawBox(gw->g.display, gw->g.x, gw->g.y, gw->g.width, gw->g.height, (gw->g.flags & GWIN_FLG_SYSENABLED) ? gw->pstyle->enabled.edge : gw->pstyle->disabled.edge); |