diff options
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index d393c356..0afe9ff3 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -202,13 +202,13 @@ static void process_image(const struct index_args *iargs, image.flags = NULL; image.copyme = iargs->copyme; image.id = cookie; - image.filename = filename; + image.filename = pargs->filename; /* Relative to top level */ image.beam = iargs->beam; image.det = iargs->det; image.crystals = NULL; image.n_crystals = 0; - hdfile = hdfile_open(image.filename); + hdfile = hdfile_open(filename); /* Relative to temporary folder */ if ( hdfile == NULL ) return; if ( iargs->element != NULL ) { |