summaryrefslogtreecommitdiffstats
path: root/timeline/tl_cue.c
diff options
context:
space:
mode:
Diffstat (limited to 'timeline/tl_cue.c')
-rw-r--r--timeline/tl_cue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timeline/tl_cue.c b/timeline/tl_cue.c
index c02215ce11..c4958a823a 100644
--- a/timeline/tl_cue.c
+++ b/timeline/tl_cue.c
@@ -78,7 +78,7 @@ struct cue_track {
static enum cue_command read_cmd(struct bstr *data, struct bstr *out_params)
{
- struct bstr line = bstr_getline(*data, data);
+ struct bstr line = bstr_strip_linebreaks(bstr_getline(*data, data));
line = bstr_lstrip(line);
if (line.len == 0)
return CUE_EMPTY;