forked from old/legacy-imlib2
parent
a1a018317a
commit
4c55d2c3f6
|
@ -983,7 +983,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress,
|
||||||
|
|
||||||
current_modified_time = __imlib_FileModDate(file);
|
current_modified_time = __imlib_FileModDate(file);
|
||||||
/* if the file on disk is newer than the cached one */
|
/* 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 */
|
/* invalidate image */
|
||||||
SET_FLAG(im->flags, F_INVALID);
|
SET_FLAG(im->flags, F_INVALID);
|
||||||
|
|
Loading…
Reference in New Issue