aboutsummaryrefslogtreecommitdiff
path: root/src/whirligig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/whirligig.c')
-rw-r--r--src/whirligig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/whirligig.c b/src/whirligig.c
index ee74a25e..843403ec 100644
--- a/src/whirligig.c
+++ b/src/whirligig.c
@@ -719,8 +719,9 @@ int main(int argc, char *argv[])
cur.div = NAN;
cur.bw = NAN;
cur.det = NULL;
- if ( read_chunk_2(st, &cur, STREAM_READ_REFLECTIONS
- | STREAM_READ_UNITCELL) != 0 ) {
+ if ( read_chunk(st, &cur, NULL,
+ STREAM_READ_REFLECTIONS | STREAM_READ_UNITCELL) != 0 )
+ {
break;
}