You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
wrong double quote output with .csv fixed
(cherry picked from commit 68fdd753a7)
This commit is contained in:
committed by
Rémi Verschelde
parent
107bd09636
commit
70fc0d45f7
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user