accidently was printing first column header twice

This commit is contained in:
brianb 2000-03-12 18:35:22 +00:00
parent 2fb29d93b8
commit a1514812cf

View File

@ -59,7 +59,7 @@ char quote_text = 1;
if (header_row) {
col=g_ptr_array_index(table->columns,0);
fprintf(stdout,"%s",col->name);
for (j=0;j<table->num_cols;j++) {
for (j=1;j<table->num_cols;j++) {
col=g_ptr_array_index(table->columns,j);
fprintf(stdout,"%s%s",delimiter,col->name);
}