aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.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/dw-hdfsee.c
parenteed808506effc4b43d4a1686112bf2f71a61e1fc (diff)
Add multi_event_geometry() function
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r--src/dw-hdfsee.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index cb35c2f5..c4149cd4 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -3012,8 +3012,7 @@ DisplayWindow *displaywindow_open(char *filename, char *geom_filename,
dw->multi_event = 0;
}
- if ( dw->image->det != NULL && ( dw->image->det->path_dim != 0 ||
- dw->image->det->dim_dim != 0 ))
+ if ( multi_event_geometry(dw->image->det) )
{
struct hdfile *hdfile;