summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY.h7
-rw-r--r--update.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/HISTORY.h b/HISTORY.h
index 17c12f8..ade86a1 100644
--- a/HISTORY.h
+++ b/HISTORY.h
@@ -5,8 +5,8 @@
*
*/
-#define _VERSION "1.1.114"
-#define VERSION_DATE "13.08.2020"
+#define _VERSION "1.1.115"
+#define VERSION_DATE "14.08.2020"
#define DB_API 7
@@ -19,6 +19,9 @@
/*
* ------------------------------------
+2020-08-14: version 1.1.115 (horchi)
+ - bugfix: Fixed missing images after restart - again
+
2020-08-13: version 1.1.114 (horchi)
- bugfix: Fixed missing images after restart
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);