summaryrefslogtreecommitdiff
path: root/core/os/file_access.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-11 15:04:54 +0100
committerGitHub <noreply@github.com>2020-12-11 15:04:54 +0100
commit146316c4413004a1062e559f092dd30456e9bc93 (patch)
tree67a07f490e8875abdf05c87a29246bbc19e199c3 /core/os/file_access.cpp
parentdc589a64e6a8c320ae286e3fa8c9533b58a286ca (diff)
parent68fdd753a796bec711cd5caa0933ac2f0f125aca (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.cpp2
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++;