aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index f4f009bb..17756bb8 100644
--- a/src/index.c
+++ b/src/index.c
@@ -82,6 +82,7 @@ void index_pattern(struct image *image, int no_index, int use_dirax)
struct imagefeature *f;
f = image_get_feature(image->features, i);
+ if ( f == NULL ) continue;
if ( f->y >=512 ) {
/* Top half of CCD */