mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 10:17:31 +00:00
m_option: fix key/value list string conversion
Meh.
This commit is contained in:
parent
5bfe131340
commit
25f086973f
@ -1394,7 +1394,7 @@ static char *print_keyvalue_list(const m_option_t *opt, const void *src)
|
||||
for (int n = 0; lst && lst[n] && lst[n + 1]; n += 2) {
|
||||
if (ret[0])
|
||||
ret = talloc_strdup_append(ret, ",");
|
||||
ret = talloc_asprintf_append("%s%s=%s", ret, lst[n], lst[n + 1]);
|
||||
ret = talloc_asprintf_append(ret, "%s=%s", lst[n], lst[n + 1]);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user