1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

wrong double quote output with .csv fixed

(cherry picked from commit 68fdd753a7)
This commit is contained in:
Alf Kraus
2020-12-11 11:42:43 +01:00
committed by Rémi Verschelde
parent 107bd09636
commit 70fc0d45f7

View File

@@ -379,7 +379,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++;