comparison src/histogram.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents f96cc7807780
children 24a12aa0cb54
comparison
equal deleted inserted replaced
1497:2c54f3f71634 1498:5f49f305a6b6
381 381
382 void histogram_notify_cb(FileData *fd, NotifyType type, gpointer data) 382 void histogram_notify_cb(FileData *fd, NotifyType type, gpointer data)
383 { 383 {
384 if ((type & (NOTIFY_CHANGE | NOTIFY_REREAD)) && fd->histmap) 384 if ((type & (NOTIFY_CHANGE | NOTIFY_REREAD)) && fd->histmap)
385 { 385 {
386 DEBUG_1("Notify histogram: %s %04x", fd->path, type);
386 histmap_free(fd->histmap); 387 histmap_free(fd->histmap);
387 fd->histmap = NULL; 388 fd->histmap = NULL;
388 } 389 }
389 } 390 }
390 391