Revision: 1570
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1570&view=rev
Author:   nadvornik
Date:     2009-03-21 20:19:11 +0000 (Sat, 21 Mar 2009)

Log Message:
-----------
fixed segfault in histogram
http://sourceforge.net/tracker/index.php?func=detail&aid=2690498&group_id=222125&atid=1054680

Modified Paths:
--------------
    trunk/src/bar_histogram.c

Modified: trunk/src/bar_histogram.c
===================================================================
--- trunk/src/bar_histogram.c   2009-03-21 19:51:07 UTC (rev 1569)
+++ trunk/src/bar_histogram.c   2009-03-21 20:19:11 UTC (rev 1570)
@@ -81,6 +81,7 @@
        
        gtk_widget_queue_draw_area(GTK_WIDGET(phd->drawing_area), 0, 0, 
phd->histogram_width, phd->histogram_height);
        
+       if (phd->fd == NULL) return FALSE;
        histmap = histmap_get(phd->fd);
        
        if (!histmap) 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to