summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-10-01 23:28:15 +0200
committerlouis <louis.braun@gmx.de>2013-10-01 23:28:15 +0200
commit1b7943aea0f17b8891f6b201ded6fadd17555972 (patch)
tree37a8a2ab2a239494db9b3795635a4cf1b6ca104a /imagecache.c
parenta1f5d0e1385e371d1dc29cbcb2b758e4ae53a24d (diff)
downloadskin-nopacity-1b7943aea0f17b8891f6b201ded6fadd17555972.tar.gz
skin-nopacity-1b7943aea0f17b8891f6b201ded6fadd17555972.tar.bz2
fixed a bug that default icon path is not used
Diffstat (limited to 'imagecache.c')
-rw-r--r--imagecache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/imagecache.c b/imagecache.c
index 4dc6507..667097e 100644
--- a/imagecache.c
+++ b/imagecache.c
@@ -200,7 +200,8 @@ bool cImageCache::LoadIcon(eCacheType type, std::string name, int width, int hei
InsertIntoCache(type, name, width, height, preserveAspect);
}
}
- } else if (!success) {
+ }
+ if (!success) {
cString iconPathTheme = cString::sprintf("%s%s/", *config.iconPathDefault, Setup.OSDTheme);
success = LoadImage(name, *iconPathTheme, "png");
if (success) {