summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
diff options
context:
space:
mode:
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 17449f898..f15142208 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -131,7 +131,7 @@ void Wallpaper::loadWallpapers()
}
PhysFs::freeList(imgs);
- std::sort(wallpaperData.begin(), wallpaperData.end(), wallpaperCompare);
+ std::sort(wallpaperData.begin(), wallpaperData.end(), &wallpaperCompare);
}
std::string Wallpaper::getWallpaper(const int width, const int height)