diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 14:45:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:25 +0300 |
commit | 804867a6bbf0f7ce51f72bcccd355eaadef418c6 (patch) | |
tree | 7c4648cca8cc6016b3bc7e02743e8ceb304a9036 /src/resources/wallpaper.cpp | |
parent | fa67ace8045dfd6fab30b251722936e88dd4ea35 (diff) | |
download | manaplus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.gz manaplus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.bz2 manaplus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.xz manaplus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.zip |
improve function pointer usage in wallpaper.
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 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) |