summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-18 14:23:02 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-18 14:23:02 +0200
commit2a3da970abf17115b5d9d0404213c617b80f3f25 (patch)
treed484e1894c4482744facf6f82e53396ea0fb4c00 /src/ui
parent2296cd2e6e6e6d7b34d6a61bba2d326383e6b456 (diff)
Widget: Fixed parent not arranging children
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 4f5d174c..fa0a20c9 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -321,7 +321,7 @@ iLocalDef iBool isArranged_Widget_(const iWidget *d) {
321static size_t numArrangedChildren_Widget_(const iWidget *d) { 321static size_t numArrangedChildren_Widget_(const iWidget *d) {
322 size_t count = 0; 322 size_t count = 0;
323 iConstForEach(ObjectList, i, d->children) { 323 iConstForEach(ObjectList, i, d->children) {
324 if (isArranged_Widget_(d)) { 324 if (isArranged_Widget_(i.object)) {
325 count++; 325 count++;
326 } 326 }
327 } 327 }