table_read: skip empty csv rows (some tools save as ,,,,,)
This commit is contained in:
parent
95fc6377d4
commit
7ede51737d
|
|
@ -1300,7 +1300,7 @@ int table_read(const char *f)
|
|||
}
|
||||
line_ptr = line;
|
||||
while(*line_ptr) { /* non empty line ? */
|
||||
if(*line_ptr != ' ' && *line_ptr != '\t' && *line_ptr != '\n') {
|
||||
if(*line_ptr != ',' && *line_ptr != ' ' && *line_ptr != '\t' && *line_ptr != '\n') {
|
||||
empty = 0;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue