diff options
author | Kim Woelders <kim@woelders.dk> | 2011-03-20 17:19:02 +0000 |
---|---|---|
committer | Kim Woelders <kim@woelders.dk> | 2011-03-20 17:19:02 +0000 |
commit | 4c55d2c3f63771519d0a610dca0b7ccf0ef17133 (patch) | |
tree | 747c5e2224deeaa0f2d2bdd2a939a337829fa080 | |
parent | a1a018317a29c6b5b6d0accf1d9deb7697245923 (diff) | |
download | imlib2-4c55d2c3f63771519d0a610dca0b7ccf0ef17133.tar.gz |
Better image cache time stamp test.
SVN revision: 57918
-rw-r--r-- | src/lib/image.c | 2 |
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); |