From 444b61e119f356ac04545095a60022e9eaf21def Mon Sep 17 00:00:00 2001 From: seleznevae Date: Mon, 1 Jan 2018 21:46:48 +0300 Subject: [PATCH] c --- src/fort.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/fort.c b/src/fort.c index 96095a3..d1993f6 100644 --- a/src/fort.c +++ b/src/fort.c @@ -182,16 +182,6 @@ int lines_number_cell(fort_cell_t *cell) return result + 1; } -int hint_height_cell(fort_cell_t *cell) -{ - assert(cell); - int result = cell->options.padding_top + cell->options.padding_bottom; - if (cell->str_buffer) { - result += lines_number_cell(cell); - } - return result; -} - /***************************************************************************** * ROW * ***************************************************************************/ @@ -930,7 +920,7 @@ static void table_geometry(const FTABLE *table, size_t *height, size_t *width) if (table) { size_t cols = 0; size_t rows = 0; - table_sizes(table, &rows, &cols); + table_body_sizes(table, &rows, &cols); if (table->header) { cols = MAX(cols, columns_in_row(table->header)); ++rows;