diff options
Diffstat (limited to 'libvo/vo_gl3.c')
-rw-r--r-- | libvo/vo_gl3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl3.c b/libvo/vo_gl3.c index 1947839816..adfe636909 100644 --- a/libvo/vo_gl3.c +++ b/libvo/vo_gl3.c @@ -484,7 +484,7 @@ static char *get_section(void *talloc_ctx, struct bstr source, char *res = talloc_strdup(talloc_ctx, ""); bool copy = false; while (source.len) { - struct bstr line = bstr_getline(source, &source); + struct bstr line = bstr_strip_linebreaks(bstr_getline(source, &source)); if (bstr_eatstart(&line, bstr(SECTION_HEADER))) { copy = bstrcmp0(line, section) == 0; } else if (copy) { |