Mercurial > geeqie
diff src/histogram.c @ 1750:067f08c0a9f8
preserve histmap on NOTIFY_CHANGE
author | nadvornik |
---|---|
date | Sun, 13 Sep 2009 12:33:11 +0000 |
parents | 9a081164e6e3 |
children | 956aab097ea7 |
line wrap: on
line diff
--- a/src/histogram.c Sun Sep 13 09:55:21 2009 +0000 +++ b/src/histogram.c Sun Sep 13 12:33:11 2009 +0000 @@ -380,7 +380,7 @@ void histogram_notify_cb(FileData *fd, NotifyType type, gpointer data) { - if ((type & (NOTIFY_CHANGE | NOTIFY_REREAD)) && fd->histmap) + if ((type & NOTIFY_REREAD) && fd->histmap) { DEBUG_1("Notify histogram: %s %04x", fd->path, type); histmap_free(fd->histmap);