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

This commit is contained in:
jp9000
2016-04-10 02:11:03 -07:00
parent a589ea8c14
commit 8b2173f591

View File

@@ -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;
}