summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/window.cpp')
-rw-r--r--src/guichan/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp
index 7b04981c2..d0ba32f47 100644
--- a/src/guichan/widgets/window.cpp
+++ b/src/guichan/widgets/window.cpp
@@ -282,7 +282,7 @@ namespace gcn
WidgetListConstIterator it;
int w = 0, h = 0;
- for (it = mWidgets.begin(); it != mWidgets.end(); it++)
+ for (it = mWidgets.begin(); it != mWidgets.end(); ++ it)
{
if ((*it)->getX() + (*it)->getWidth() > w)
w = (*it)->getX() + (*it)->getWidth();