diff options
Diffstat (limited to 'src/gui/widgets/windowcontainer.cpp')
-rw-r--r-- | src/gui/widgets/windowcontainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/windowcontainer.cpp b/src/gui/widgets/windowcontainer.cpp index 1c4b926f5..2447e12e4 100644 --- a/src/gui/widgets/windowcontainer.cpp +++ b/src/gui/widgets/windowcontainer.cpp @@ -54,8 +54,7 @@ void WindowContainer::scheduleDelete(gcn::Widget *const widget) void WindowContainer::adjustAfterResize(const int oldScreenWidth, const int oldScreenHeight) { - for (WidgetListIterator i = mWidgets.begin(), i_end = mWidgets.end(); - i != i_end; ++i) + FOR_EACH (WidgetListIterator, i, mWidgets) { if (Window *const window = dynamic_cast<Window*>(*i)) window->adjustPositionAfterResize(oldScreenWidth, oldScreenHeight); |