aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-11-18 14:41:06 +0100
committerThomas White <taw@physics.org>2022-11-18 14:41:06 +0100
commitd713a2129516789c1593a7d3d448daf6a1d8b6a0 (patch)
treeed7860fca67ebbf7e335be867d7bd2e2d20b7633 /src
parentceda8121dd6dfc4033bc73d4ca603ab2c7cbe111 (diff)
GUI: Fix initialiser for 'event' during list import
Just a bug. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/72
Diffstat (limited to 'src')
-rw-r--r--src/gui_import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_import.c b/src/gui_import.c
index 3b2ad736..73f1357d 100644
--- a/src/gui_import.c
+++ b/src/gui_import.c
@@ -409,7 +409,7 @@ static void import_file_list(struct finddata_ctx *ctx)
do {
char line[1024];
- char *event = "//";
+ char *event = NULL;
size_t n;
if ( fgets(line, 1024, fh) == NULL ) break;