summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-09 16:38:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-09 16:38:23 +0300
commit3eade975477be87aeb4abf40913d45932f6d3f96 (patch)
tree60c99d47bb42fd4d15b40a84d3eafe3e31125428
parentb639270b2854e2d069bbff9b888dfeb159f9b400 (diff)
downloadmv-3eade975477be87aeb4abf40913d45932f6d3f96.tar.gz
mv-3eade975477be87aeb4abf40913d45932f6d3f96.tar.bz2
mv-3eade975477be87aeb4abf40913d45932f6d3f96.tar.xz
mv-3eade975477be87aeb4abf40913d45932f6d3f96.zip
Fix possible guichan STL issue.
-rw-r--r--src/guichan/basiccontainer.cpp6
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()