Mercurial > geeqie.yaz
changeset 1474:aec6992e5116
fixed segfault in histogram
http://sourceforge.net/tracker/index.php?func=detail&aid=2690498&group_id=222125&atid=1054680
author | nadvornik |
---|---|
date | Sat, 21 Mar 2009 20:19:11 +0000 |
parents | 01693e68707b |
children | f43e4ee8fb2d |
files | src/bar_histogram.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_histogram.c Sat Mar 21 19:51:07 2009 +0000 +++ b/src/bar_histogram.c Sat Mar 21 20:19:11 2009 +0000 @@ -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)