diff options
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
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) { | |||
321 | static size_t numArrangedChildren_Widget_(const iWidget *d) { | 321 | static 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 | } |