Tiny warning fix.

Why not switch to -Werror by the way ?
This commit is contained in:
Florent Clairambault 2016-01-01 01:45:32 +01:00
parent 48bf6d2b37
commit cfcbe9859f
1 changed files with 2 additions and 1 deletions

View File

@ -53,8 +53,9 @@ void uiGroupSetChild(uiGroup *g, uiControl *child)
if (g->child != NULL)
childRemove(g->child);
g->child = newChildWithBox(child, uiControl(g), g->container, g->margined);
if (g->child != NULL)
if (g->child != NULL) {
uiControlQueueResize(uiControl(g));
}
}
int uiGroupMargined(uiGroup *g)