diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/event.c b/input/event.c index 76ddae279c..266e0294e2 100644 --- a/input/event.c +++ b/input/event.c @@ -64,7 +64,7 @@ int mp_event_drop_mime_data(struct input_ctx *ictx, const char *mime_type, while (data.len) { bstr line = bstr_getline(data, &data); line = bstr_strip_linebreaks(line); - if (bstr_startswith0(line, "#")) + if (bstr_startswith0(line, "#") || !line.start[0]) continue; char *s = bstrto0(tmp, line); MP_TARRAY_APPEND(tmp, files, num_files, s); |