summaryrefslogtreecommitdiff
path: root/update.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-08-14 19:09:25 +0200
committerhorchi <vdr@jwendel.de>2020-08-14 19:09:25 +0200
commit25ab2b2766b5b49caf7951eef7aa06a0b3dba0db (patch)
tree2f1749d774bbfcc7bd81f535dc916a63d16f12a4 /update.c
parentf9429202305cec06047566ae9ed357075c7d5de4 (diff)
downloadvdr-plugin-epg2vdr-25ab2b2766b5b49caf7951eef7aa06a0b3dba0db.tar.gz
vdr-plugin-epg2vdr-25ab2b2766b5b49caf7951eef7aa06a0b3dba0db.tar.bz2
2020-08-14: version 1.1.115 (horchi)\n - bugfix: Fixed missing images after restart - again\n\n1.1.115
Diffstat (limited to 'update.c')
-rw-r--r--update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.c b/update.c
index c770e7b..21e43ff 100644
--- a/update.c
+++ b/update.c
@@ -2081,7 +2081,7 @@ int cUpdate::cleanupPictures()
if (strncmp(dirent->d_name + strlen(dirent->d_name) - strlen(ext), ext, strlen(ext)) != 0)
continue;
- if (usedRefs.count(dirent->d_name))
+ if (usedRefs.count(dirent->d_name) == 0)
{
asprintf(&pdir, "%s/images/%s", epgimagedir, dirent->d_name);
tell(2, "Removing image '%s'", pdir);