diff options
author | Alf Kraus <alf.kraus@loewen.de> | 2020-12-11 11:42:43 +0100 |
---|---|---|
committer | Alf Kraus <alf.kraus@loewen.de> | 2020-12-11 11:42:43 +0100 |
commit | 68fdd753a796bec711cd5caa0933ac2f0f125aca (patch) | |
tree | f06f7875c9488a16ce08f8fc724dd94fb17d70f8 | |
parent | 32c06dfc8dbf4c3e29232b7dbccc6a34ba257027 (diff) |
wrong double quote output with .csv fixed
-rw-r--r-- | core/os/file_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> 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++; |