aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-10-16 23:02:03 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-10-16 23:03:08 +0300
commit01482f7632e86a12b9ee6d97eafa1dafa712f84e (patch)
treef73daafd9a094f473c8edc5097dca21256ba4a9e /src/render.c
parentf2c1beb5c3139238a3570d8f5052635519367d26 (diff)
downloadrevela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.tar.gz
revela-01482f7632e86a12b9ee6d97eafa1dafa712f84e.zip
Re-render album html when album.ini changedv0.1.2
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index 9dbbe2a..8909570 100644
--- a/src/render.c
+++ b/src/render.c
@@ -145,7 +145,7 @@ bool
render_make_album(struct render *r, const char *path, const struct album *album)
{
bool ok = true;
- if (album->images_updated == 0) {
+ if (album->images_updated == 0 && !album->config_updated) {
int isupdate = file_is_uptodate(path, &r->modtime);
if (isupdate == -1) return false;
if (isupdate == 1) return true;