aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-02 10:42:14 -0700
committerThomas White <taw@physics.org>2013-06-02 10:42:14 -0700
commitbf06abfb01d009d604c9f734e4d77ad0bf9b2eba (patch)
tree1aa55e4aad2452a7554ebb0a5c8bf2049edb26f5
parent513d59c1c1165c026b29ba498b27f41f1b0ac17b (diff)
hdfsee: Fix crash when clicking a found peak with numbers window open
-rw-r--r--src/dw-hdfsee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index f82c5ee1..14bab02c 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -907,7 +907,7 @@ static void load_features_from_file(struct image *image, const char *filename)
r = sscanf(line, "%f %f", &fs, &ss);
if ( r != 2 ) continue;
- image_add_feature(image->features, fs, ss, image, 1.0, NULL);
+ image_add_feature(image->features, fs, ss, image, 1.0, "peak");
} while ( rval != NULL );
}