summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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);