diff options
author | Thomas White <taw@physics.org> | 2015-02-20 13:24:28 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-02-20 13:24:28 +0100 |
commit | d75aa0efaf30562d42999b78b040e024bc9bc80c (patch) | |
tree | bd09fa659311b913987e9edaa601b346898e1212 /libcrystfel/src | |
parent | dd42c1d7da82cd8fa18b3df0e589ef83064e30f5 (diff) |
copy_geom(): Fix obvious bug
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index dbc73591..4f58df9c 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1728,7 +1728,7 @@ struct detector *copy_geom(const struct detector *in) if ( p->data != NULL ) { /* Make a copy of the data fields unique to this * copy of the structure. */ - p->clen_from = strdup(p->clen_from); + p->data = strdup(p->data); } if ( p->dim_structure != NULL ) { |