summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2019-12-24 08:56:44 +0100
committerKim Woelders <kim@woelders.dk>2019-12-28 12:06:22 +0100
commita7be91805fe7e8c11786ff9d6ae663f999fa232a (patch)
treee908a6cabdf80816b52d4c8b9e5ad4fcb23f4f40
parent6acfd27058df7df14e57b956d149ffa23f44140d (diff)
downloadimlib2-a7be91805fe7e8c11786ff9d6ae663f999fa232a.tar.gz
image.c: Enable non-dirty pixmap cache cleaning
For whatever reason this does not seem to have ever been active. Let's activate it now.
-rw-r--r--src/lib/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image.c b/src/lib/image.c
index ceaf727..c1c83f4 100644
--- a/src/lib/image.c
+++ b/src/lib/image.c
@@ -459,7 +459,7 @@ __imlib_CleanupImagePixmapCache(void)
{
ImlibImagePixmap *ip, *ip_last;
int current_cache;
- char operation = 0;
+ char operation = 1;
current_cache = __imlib_CurrentCacheSize();
ip_last = NULL;