wrong double quote output with .csv fixed

This commit is contained in:
Alf Kraus 2020-12-11 11:42:43 +01:00
parent 32c06dfc8d
commit 68fdd753a7
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ Vector<String> FileAccess::get_csv_line(const String &p_delim) const {
strings.push_back(current); strings.push_back(current);
current = String(); current = String();
} else if (c == '"') { } else if (c == '"') {
if (l[i + 1] == '"') { if (l[i + 1] == '"' && in_quote) {
s[0] = '"'; s[0] = '"';
current += s; current += s;
i++; i++;