Skip to content

Commit

Permalink
preserve histmap on NOTIFY_CHANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Sep 13, 2009
1 parent d88c019 commit 0d3397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/histogram.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ gboolean histogram_draw(Histogram *histogram, const HistMap *histmap, GdkPixbuf

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);
Expand Down

0 comments on commit 0d3397b

Please sign in to comment.