diff options
Diffstat (limited to 'src/guichan')
-rw-r--r-- | src/guichan/basiccontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/basiccontainer.cpp b/src/guichan/basiccontainer.cpp index 232baedb9..c2a5aa964 100644 --- a/src/guichan/basiccontainer.cpp +++ b/src/guichan/basiccontainer.cpp @@ -141,7 +141,7 @@ namespace gcn void BasicContainer::focusPrevious() { - WidgetListCReverseIterator it; + WidgetListReverseIterator it; for (it = mWidgets.rbegin(); it != mWidgets.rend(); ++ it) { @@ -149,7 +149,7 @@ namespace gcn break; } - WidgetListCReverseIterator end = it; + WidgetListReverseIterator end = it; ++ it; @@ -179,7 +179,7 @@ namespace gcn x -= r.x; y -= r.y; - for (WidgetListCReverseIterator it = mWidgets.rbegin(); + for (WidgetListReverseIterator it = mWidgets.rbegin(); it != mWidgets.rend(); ++ it) { if ((*it)->isVisible() && (*it)->getDimension() |