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

This commit is contained in:
Marcelo Fernandez 2017-07-25 22:00:47 -03:00
parent ecc8382a8a
commit a3a01332b8

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++) {