aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gwin/gwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index a2837d3b..5d3da7cb 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -290,7 +290,8 @@ void gwinRedraw(GHandle gh) {
if(last && parent->child) {
GHandle s = parent->child;
- while(s->sibling) s = s->sibling;
+ while(s->sibling)
+ s = s->sibling;
s->sibling = child;
} else {
child->sibling = parent->child;