From 4c55d2c3f63771519d0a610dca0b7ccf0ef17133 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sun, 20 Mar 2011 17:19:02 +0000 Subject: Better image cache time stamp test. SVN revision: 57918 --- src/lib/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/image.c b/src/lib/image.c index d404961..eaa2356 100644 --- a/src/lib/image.c +++ b/src/lib/image.c @@ -983,7 +983,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress, current_modified_time = __imlib_FileModDate(file); /* if the file on disk is newer than the cached one */ - if (current_modified_time > im->moddate) + if (current_modified_time != im->moddate) { /* invalidate image */ SET_FLAG(im->flags, F_INVALID); -- cgit v1.2.1