aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-04-13 12:10:47 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:24 +0100
commit9380767017fce2478a1460cab42d5f62a48a0404 (patch)
tree6f772840ea491731308dc0378ba3c514ed7237c8
parentee7136039eb5d43fbd3e8a77cbdb8fea94b98468 (diff)
process_hkl: Initialise image.det to NULL to avoid updating the geometry in read_chunk()
-rw-r--r--src/process_hkl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 4dc49128..e5a1f4d0 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -305,6 +305,8 @@ static void merge_all(FILE *fh, RefList *model,
struct image image;
+ image.det = NULL;
+
/* Get data from next chunk */
rval = read_chunk(fh, &image);
if ( rval ) break;