Fix cvs files freezing the editor when a double quote is not closed

This commit is contained in:
Marcelo Fernandez 2017-07-25 22:38:28 -03:00
parent d2d48e2a7a
commit 2144093fe6
1 changed files with 2 additions and 0 deletions

View File

@ -300,6 +300,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++) {