From 68fdd753a796bec711cd5caa0933ac2f0f125aca Mon Sep 17 00:00:00 2001 From: Alf Kraus Date: Fri, 11 Dec 2020 11:42:43 +0100 Subject: wrong double quote output with .csv fixed --- core/os/file_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp index b962f61e1f..aa95f06cff 100644 --- a/core/os/file_access.cpp +++ b/core/os/file_access.cpp @@ -349,7 +349,7 @@ Vector FileAccess::get_csv_line(const String &p_delim) const { strings.push_back(current); current = String(); } else if (c == '"') { - if (l[i + 1] == '"') { + if (l[i + 1] == '"' && in_quote) { s[0] = '"'; current += s; i++; -- cgit v1.2.3