summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
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) {