aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-21 11:01:07 +0100
committerThomas White <taw@physics.org>2010-01-21 11:06:04 +0100
commita988540d804e46becd904e894f739423240e0937 (patch)
tree24d237b2e466843e5bf30e0a784b0649c8a011a0 /src/render.c
parent4f8424fd5406cdfd05a38b101f386fd6d57a2d8a (diff)
Filter peaks which are obviously due to common mode streaks
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c
index a946822e..842c1b86 100644
--- a/src/render.c
+++ b/src/render.c
@@ -101,6 +101,7 @@ static void show_marked_features(struct image *image, guchar *data,
double th;
f = image_get_feature(image->features, i);
+ if ( f == NULL ) continue;
x = f->x; y = f->y;