Fix cvs files freezing the editor when a double quote is not closed
This commit is contained in:
parent
ecc8382a8a
commit
a3a01332b8
1 changed files with 2 additions and 0 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue