diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-09 16:38:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-09 16:38:23 +0300 |
commit | 3eade975477be87aeb4abf40913d45932f6d3f96 (patch) | |
tree | 60c99d47bb42fd4d15b40a84d3eafe3e31125428 /src/guichan | |
parent | b639270b2854e2d069bbff9b888dfeb159f9b400 (diff) | |
download | manaverse-3eade975477be87aeb4abf40913d45932f6d3f96.tar.gz manaverse-3eade975477be87aeb4abf40913d45932f6d3f96.tar.bz2 manaverse-3eade975477be87aeb4abf40913d45932f6d3f96.tar.xz manaverse-3eade975477be87aeb4abf40913d45932f6d3f96.zip |
Fix possible guichan STL issue.
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() |