Merge pull request #9856 from marcelofg55/2.1

[2.1] Fix cvs files freezing the editor when a double quote is not closed
This commit is contained in:
Rémi Verschelde 2017-07-26 07:35:54 +02:00 committed by GitHub
commit c6798fe3be

View File

@ -279,6 +279,8 @@ Vector<String> FileAccess::get_csv_line(String delim) const {
String l;
int qc = 0;
do {
ERR_FAIL_COND_V(eof_reached(), Vector<String>());
l += get_line() + "\n";
qc = 0;
for (int i = 0; i < l.length(); i++) {