From 1d62db61c7a34454ee9380c08c0fc8ebcc262687 Mon Sep 17 00:00:00 2001 From: Robert Kessl Date: Mon, 7 Jul 2014 09:10:01 +0200 Subject: [PATCH] tableprinter: update of some FIXME --- ucw/table-types.c | 2 +- ucw/table.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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) -- 2.39.2