diff options
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r-- | src/resources/wallpaper.cpp | 2 |
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) |