aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.c
diff options
context:
space:
mode:
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;