From 1012ab75a4fb49aee0a42f8d24f1e76844a6c319 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 8 Aug 2014 19:01:44 +1000 Subject: [PATCH] Adjust code styling to match all other code --- src/gwin/gcontainer.c | 3 +-- 1 file changed, 1 insertion(+), 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);