aboutsummaryrefslogtreecommitdiff
path: root/src/list_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list_events.c')
-rw-r--r--src/list_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list_events.c b/src/list_events.c
index c5f7ff9f..361ef40e 100644
--- a/src/list_events.c
+++ b/src/list_events.c
@@ -146,7 +146,7 @@ int main(int argc, char *argv[])
return 1;
}
- if ( (det->path_dim == 0) && (det->dim_dim == 0) ) {
+ if ( !multi_event_geometry(det) ) {
ERROR("This does not look like a multi-event geometry file.\n");
ERROR("Are you sure you need to use list_events instead of "
"just 'find' or 'ls'?\n");