Skip to content
Snippets Groups Projects
Commit aa8ef64e authored by Kipp Cannon's avatar Kipp Cannon
Browse files

table.c: fix incorrect delimiter at end of row

- the delimiter was hard-coded to ",", which all known use cases use, but it must be the same (variable) delimiter character used everywhere else.
parent 97b7f40e
No related branches found
No related tags found
1 merge request!450two ezligolw fixes
Pipeline #512945 passed
......@@ -509,7 +509,7 @@ int ligolw_table_print(FILE *f, struct ligolw_table *table)
/* print the rows */
for(r = 0; r < table->n_rows; r++) {
if(r)
fprintf(f, ",\n\t\t");
fprintf(f, "%c\n\t\t", table->delimiter);
else
fprintf(f, "\t\t");
for(c = 0; c < table->n_columns; c++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment