1
0
Fork 0
This commit is contained in:
seleznevae 2018-01-01 21:46:48 +03:00
parent 31fa1a1d74
commit 444b61e119
1 changed files with 1 additions and 11 deletions

View File

@ -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;