summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index b6cb51455..ba3ca95ad 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -283,9 +283,7 @@ void GraphicsManager::setVideoMode()
std::string str = strprintf("%dx%d", width, height);
if (width != 0 && height != 0)
{
- for (StringVectCIter it = videoModes.begin(),
- it_end = videoModes.end();
- it != it_end; ++ it)
+ FOR_EACH (StringVectCIter, it, videoModes)
{
if (str == *it)
{