Mercurial > geeqie
diff src/image.c @ 891:841b387dd877
fixed test for changed files in cache
author | nadvornik |
---|---|
date | Fri, 18 Jul 2008 21:20:49 +0000 |
parents | bc9df0fecdc1 |
children | c93823609f15 |
line wrap: on
line diff
--- a/src/image.c Fri Jul 18 09:55:15 2008 +0000 +++ b/src/image.c Fri Jul 18 21:20:49 2008 +0000 @@ -1356,7 +1356,9 @@ ImageWindow *imd = data; if (!imd || !image_get_pixbuf(imd) || - imd->il || !imd->image_fd || + /* imd->il || */ /* loading in progress - do not check - it should start from the beginning anyway */ + !imd->image_fd || /* nothing to reload */ + imd->state == IMAGE_STATE_NONE || /* loading not started, no need to reload */ !options->update_on_time_change) return; if (type == NOTIFY_TYPE_REREAD && fd == imd->image_fd)