# HG changeset patch # User nadvornik # Date 1252845191 0 # Node ID 8fd9618083451735736dc232a43cb19c54e6a244 # Parent 61bd3a2f633dc12c945a8392d3799c54d803b80e preserve histmap on NOTIFY_CHANGE diff -r 61bd3a2f633d -r 8fd961808345 src/histogram.c --- 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);