summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:20 +0300
commit8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (patch)
tree0bb3cd9a01f0158822ae58a0d56b8b1808cb9bbc /src/resources/wallpaper.cpp
parenta9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff)
downloadmv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz
mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2
mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz
mv-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip
Add missing const in resources directory.
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r--src/resources/wallpaper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index e7a1b8253..1f33c70ae 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -83,7 +83,7 @@ void Wallpaper::loadWallpapers()
initDefaultWallpaperPaths();
char **const imgs = PhysFs::enumerateFiles(wallpaperPath.c_str());
- for (char **i = imgs; *i; i++)
+ for (char *const *i = imgs; *i; i++)
{
// If the backup file is found, we tell it.
if (strncmp (*i, wallpaperFile.c_str(), strlen(*i)) == 0)