mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 22:38:45 -04:00
libobs/util: Add double-quote escape value for text lookup
This commit is contained in:
1 parent
a589ea8c14
commit
8b2173f591
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user