diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-11 15:04:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 15:04:54 +0100 |
commit | 146316c4413004a1062e559f092dd30456e9bc93 (patch) | |
tree | 67a07f490e8875abdf05c87a29246bbc19e199c3 /core/os/file_access.cpp | |
parent | dc589a64e6a8c320ae286e3fa8c9533b58a286ca (diff) | |
parent | 68fdd753a796bec711cd5caa0933ac2f0f125aca (diff) |
Merge pull request #44294 from GoDino/issue_44269
wrong double quote output with .csv fixed
Diffstat (limited to 'core/os/file_access.cpp')
-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++; |