diff options
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index b380c434..2aca49b3 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -206,7 +206,7 @@ static char *read_prefixed_filename(struct get_pattern_ctx *gpctx, char **event) * space. */ if ( strstr(&line[n], "//") != NULL ) { line[n] = '\0'; - *event = strdup(&line[n]); + *event = strdup(&line[n+1]); } } /* else no spaces at all */ } |