changeset 1750:067f08c0a9f8

preserve histmap on NOTIFY_CHANGE
author nadvornik
date Sun, 13 Sep 2009 12:33:11 +0000
parents f549702f7b41
children 886594f72b04
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);