提交 8b2173f5 编写于 作者: J jp9000

libobs/util: Add double-quote escape value for text lookup

上级 a589ea8c
......@@ -287,6 +287,7 @@ static char *convert_string(const char *str, size_t len)
dstr_replace(&out, "\\n", "\n");
dstr_replace(&out, "\\t", "\t");
dstr_replace(&out, "\\r", "\r");
dstr_replace(&out, "\\\"", "\"");
return out.array;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册