kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=c60ad00b1e96ad43afdc54313b28d6441d4ace8f

commit c60ad00b1e96ad43afdc54313b28d6441d4ace8f
Author: Kim Woelders <[email protected]>
Date:   Sat Nov 16 17:12:58 2019 +0100

    image.c: Use real_file to get file time
---
 src/lib/image.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/image.c b/src/lib/image.c
index 3456d97..ddbc731 100644
--- a/src/lib/image.c
+++ b/src/lib/image.c
@@ -883,7 +883,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction 
progress,
           {
              time_t              current_modified_time;
 
-             current_modified_time = __imlib_FileModDate(file);
+             current_modified_time = __imlib_FileModDate(im->real_file);
              /* if the file on disk is newer than the cached one */
              if (current_modified_time != im->moddate)
                {
@@ -921,7 +921,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction 
progress,
         im->key = __imlib_FileKey(file);
      }
 
-   im->moddate = __imlib_FileModDate(file);
+   im->moddate = __imlib_FileModDate(im->real_file);
 
    /* ok - just check all our loaders are up to date */
    __imlib_RescanLoaders();

-- 


Reply via email to