Better image cache time stamp test.

SVN revision: 57918
This commit is contained in:
Kim Woelders 2011-03-20 17:19:02 +00:00
parent a1a018317a
commit 4c55d2c3f6
1 changed files with 1 additions and 1 deletions

View File

@ -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);