aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-24 14:58:14 +0200
committerThomas White <taw@physics.org>2014-09-24 14:58:14 +0200
commit23de8849e8faca0dd977996ede9832a9b07557bf (patch)
tree85028b41d141e97320395a2fa265c6bab4c08e3e
parent16ab8ecd3592233e28c994ba6d54179da2cefcde (diff)
Formatting
-rw-r--r--src/dw-hdfsee.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 0af10671..d33ffe66 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -2460,7 +2460,8 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
return NULL;
}
if ( dw->ev_list->num_events == 0 ) {
- ERROR("Multi-event geometry file but no events found in data file");
+ ERROR("Multi-event geometry file but no events found "
+ "in data file\n");
free_event_list(dw->ev_list);
free(dw);
return NULL;
@@ -2474,7 +2475,8 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
if ( dw->multi_event ) {
check = hdf5_read2(dw->hdfile, dw->image,
- dw->ev_list->events[dw->curr_event], 0);
+ dw->ev_list->events[dw->curr_event],
+ 0);
} else {
check = hdf5_read2(dw->hdfile, dw->image, NULL, 0);
}