diff options
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r-- | src/utils/paths.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index bf4cd5e48..6f10262f6 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -155,8 +155,7 @@ std::string getDesktopDir() file = std::string(xdg) + "/user-dirs.dirs"; StringVect arr = ResourceManager::loadTextFileLocal(file); - for (StringVectCIter it = arr.begin(), it_end = arr.end(); - it != it_end; ++ it) + FOR_EACH (StringVectCIter, it, arr) { std::string str = *it; if (findCutFirst(str, "XDG_DESKTOP_DIR=\"")) |