diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-16 23:02:03 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-16 23:03:08 +0300 |
commit | 01482f7632e86a12b9ee6d97eafa1dafa712f84e (patch) | |
tree | f73daafd9a094f473c8edc5097dca21256ba4a9e /src/fs.c | |
parent | f2c1beb5c3139238a3570d8f5052635519367d26 (diff) | |
download | revela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.tar.gz revela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.zip |
Re-render album html when album.ini changedv0.1.2
Diffstat (limited to 'src/fs.c')
-rw-r--r-- | src/fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -138,8 +138,7 @@ file_is_uptodate(const char *path, const struct timespec *srcmtim) return -1; } return 0; - } else if (dststat.st_mtim.tv_sec != srcmtim->tv_sec - || dststat.st_mtim.tv_nsec != srcmtim->tv_nsec) { + } else if (!TIMEQUAL(dststat.st_mtim, *srcmtim)) { return 0; } |