]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/table.c
tableprinter: update of documentation
[libucw.git] / ucw / table.c
index 1a26e5b3a2b7c34819169491902e8d9703b3515e..cb14a89c741754d66973aa7ec2c4d985b547793c 100644 (file)
@@ -34,7 +34,7 @@ static struct table *table_template_copy(struct table *tbl_template)
   copy->column_count = tbl_template->column_count;
   copy->pool = mp_new(4096);
   if(tbl_template->column_order) {
-    copy->column_order = mp_alloc_zero(copy->pool, sizeof(struct table_col_info) * tbl_template->cols_to_output); //tbl_template->; // FIXME: more complicated copying
+    copy->column_order = mp_alloc_zero(copy->pool, sizeof(struct table_col_info) * tbl_template->cols_to_output);
     memcpy(copy->column_order, tbl_template->column_order, sizeof(struct table_col_info) * tbl_template->cols_to_output);
     for(uint i = 0; i < copy->cols_to_output; i++) {
       copy->column_order[i].cell_content = NULL;