summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-15 02:20:52 +0300
commit18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch)
treedb753995392ae8e6c5202467f417f31deb8717f0 /src/resources/wallpaper.cpp
parentc3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff)
downloadplus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz
plus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2
plus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz
plus-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip
Fix code style again.
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r--src/resources/wallpaper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index 316419627..9ee87e33a 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -44,7 +44,7 @@ struct WallpaperData
int height;
};
-bool wallpaperCompare(WallpaperData a, WallpaperData b);
+static bool wallpaperCompare(WallpaperData a, WallpaperData b);
static std::vector<WallpaperData> wallpaperData;
static bool haveBackup; // Is the backup (no size given) version available?
@@ -78,7 +78,7 @@ static void initDefaultWallpaperPaths()
wallpaperFile = "login_wallpaper.png";
}
-bool wallpaperCompare(WallpaperData a, WallpaperData b)
+static bool wallpaperCompare(WallpaperData a, WallpaperData b)
{
int aa = a.width * a.height;
int ab = b.width * b.height;