# HG changeset patch # User nadvornik # Date 1252845191 0 # Node ID 067f08c0a9f8a0fc1e1aebb0f9452d3afdad0a40 # Parent f549702f7b41583e94cf5001106506fa9f60c1be preserve histmap on NOTIFY_CHANGE diff -r f549702f7b41 -r 067f08c0a9f8 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);