aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-09 17:08:54 +0100
committerThomas White <taw@physics.org>2019-01-29 11:23:06 +0100
commite7d188319f92f72f193d43c2b0be445c46842718 (patch)
tree063d45b8cae1982c124b2de84e2c68dfba49cdd3 /src/im-sandbox.c
parenteed808506effc4b43d4a1686112bf2f71a61e1fc (diff)
Add multi_event_geometry() function
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index b73e4707..4c3314bf 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -295,7 +295,7 @@ static struct filename_plus_event *get_pattern(FILE *fh, int config_basename,
fne = malloc(sizeof(struct filename_plus_event));
fne->filename = strdup(filename);
- if ( det->path_dim !=0 || det->dim_dim !=0 ) {
+ if ( multi_event_geometry(gpctx->det) ) {
fne->ev = copy_event(ev_list->events[event_index]);
if ( event_index != ev_list->num_events-1 ) {
event_index += 1;