]> mj.ucw.cz Git - libucw.git/commitdiff
tableprinter: update of some FIXME
authorRobert Kessl <kesslr@centrum.cz>
Mon, 7 Jul 2014 07:10:01 +0000 (09:10 +0200)
committerRobert Kessl <kesslr@centrum.cz>
Mon, 7 Jul 2014 07:10:01 +0000 (09:10 +0200)
ucw/table-types.c
ucw/table.c

index 25576d3e55563347957d85518f0c10fde93e095f..967baea0049452ab8c0ef1c72260c339d008796f 100644 (file)
@@ -105,7 +105,7 @@ void table_col_size(struct table *tbl, int col, u64 val)
   };
 
   TBL_COL_ITER(tbl, col, curr_col, curr_col_idx) {
-    // FIXME: do some rounding?
+    // FIXME: do some rounding? Or maybe use double and floating-point printing?
     uint out_type = 0;
     u64 curr_val = val;
     if(curr_col->output_type == CELL_OUT_UNINITIALIZED) {
index 1e141953dd234ba0c040d6dfae5ec8cc89a260ad..94f5c52860741f7b83810e4c2d0c5926ae850f8a 100644 (file)
@@ -411,8 +411,6 @@ void table_col_bool_fmt(struct table *tbl, int col, const char *fmt, uint val)
     }
     curr_col = tbl->column_order[curr_col].next_column;
   }
-
-  // FIXME: add to printing of all columns
 }
 
 void table_reset_row(struct table *tbl)