diff options
Diffstat (limited to 'libcrystfel/src/detector.c')
-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 ) { |