From: Robert Kessl Date: Mon, 7 Jul 2014 07:10:01 +0000 (+0200) Subject: tableprinter: update of some FIXME X-Git-Tag: v6.1~3^2~116 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1d62db61c7a34454ee9380c08c0fc8ebcc262687;p=libucw.git tableprinter: update of some FIXME --- diff --git a/ucw/table-types.c b/ucw/table-types.c index 25576d3e..967baea0 100644 --- a/ucw/table-types.c +++ b/ucw/table-types.c @@ -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) { diff --git a/ucw/table.c b/ucw/table.c index 1e141953..94f5c528 100644 --- a/ucw/table.c +++ b/ucw/table.c @@ -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)