summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 14:45:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commit804867a6bbf0f7ce51f72bcccd355eaadef418c6 (patch)
tree7c4648cca8cc6016b3bc7e02743e8ceb304a9036 /src
parentfa67ace8045dfd6fab30b251722936e88dd4ea35 (diff)
downloadplus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.gz
plus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.bz2
plus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.tar.xz
plus-804867a6bbf0f7ce51f72bcccd355eaadef418c6.zip
improve function pointer usage in wallpaper.
Diffstat (limited to 'src')
-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)