Trim trailing white spaces.
[geeqie.git] / src / histogram.c
index 0c4a7df..8e379fb 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Geeqie
- * Copyright (C) 2008 - 2009 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: Vladimir Nadvornik
  * based on a patch by Uwe Ohse
@@ -184,7 +184,7 @@ static gboolean histmap_read(HistMap *histmap, gboolean whole)
                        }
                }
        histmap->y = end_line;
-       return end_line >= h;   
+       return end_line >= h;
 }
 
 const HistMap *histmap_get(FileData *fd)
@@ -320,7 +320,7 @@ gboolean histogram_draw(Histogram *histogram, const HistMap *histmap, GdkPixbuf
                for (j = 0; j < num_chan; j++)
                        {
                        gint chanmax;
-                       if (histogram->histogram_channel == HCHAN_RGB) 
+                       if (histogram->histogram_channel == HCHAN_RGB)
                                {
                                chanmax = HCHAN_R;
                                if (v[HCHAN_G] > v[HCHAN_R]) chanmax = HCHAN_G;
@@ -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);