changeset 1718:8fd961808345

preserve histmap on NOTIFY_CHANGE
author nadvornik
date Sun, 13 Sep 2009 12:33:11 +0000
parents 61bd3a2f633d
children 9c7d4fe93759
files src/histogram.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);