diff options
author | louis <louis.braun@gmx.de> | 2013-10-01 23:28:15 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-10-01 23:28:15 +0200 |
commit | 1b7943aea0f17b8891f6b201ded6fadd17555972 (patch) | |
tree | 37a8a2ab2a239494db9b3795635a4cf1b6ca104a /imagecache.c | |
parent | a1f5d0e1385e371d1dc29cbcb2b758e4ae53a24d (diff) | |
download | skin-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.c | 3 |
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) { |