[CSV] Updated csv so it won't overflow
Updated accoding to momo5502's request.
This commit is contained in:
parent
272addfd4f
commit
86bfc41812
@ -110,7 +110,7 @@ namespace Utils
|
||||
//++i;
|
||||
continue;
|
||||
}
|
||||
else if (!isString && (row[i] == '#' || (row[i] == '/' && row[i+1] == '/') ) && allowComments) // Skip comments. I know CSVs usually don't have comments, but in this case it's useful
|
||||
else if (!isString && (row[i] == '#' || (row[i] == '/' && (i + 1) < row.size() && row[i + 1] == '/') ) && allowComments) // Skip comments. I know CSVs usually don't have comments, but in this case it's useful
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user