aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 33f1b4a8..09a505a7 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1009,7 +1009,7 @@ struct image *stream_read_chunk(Stream *st, StreamFlags srf)
}
if ( strncmp(line, "hdf5/", 5) == 0 ) {
- parse_header(line+5, image, 'f');
+ parse_header(line+4, image, HEADER_FLOAT);
}
if ( strncmp(line, "header/int/", 11) == 0 ) {