From 2744e4fa8f39cd06bfe557a5a3881830bd11501c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 20:43:54 +0300 Subject: Last part with FOR_EACH changes. --- src/resources/wallpaper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/resources/wallpaper.cpp') diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp index 32f4f1e10..381fe7466 100644 --- a/src/resources/wallpaper.cpp +++ b/src/resources/wallpaper.cpp @@ -142,9 +142,7 @@ std::string Wallpaper::getWallpaper(const int width, const int height) // Wallpaper filename container StringVect wallPaperVector; - for (std::vector::const_iterator - iter = wallpaperData.begin(), iter_end = wallpaperData.end(); - iter != iter_end; ++iter) + FOR_EACH (std::vector::const_iterator, iter, wallpaperData) { wp = *iter; if (wp.width <= width && wp.height <= height) -- cgit v1.2.3-70-g09d2