Merge remote-tracking branch 'origin/develop' into issues-58
This commit is contained in:
commit
96c27521fc
@ -2832,9 +2832,10 @@ size_t ft_row_count(const ft_table_t *table)
|
||||
size_t ft_col_count(const ft_table_t *table)
|
||||
{
|
||||
assert(table && table->rows);
|
||||
size_t i = 0;
|
||||
size_t cols_n = 0;
|
||||
size_t rows_n = vector_size(table->rows);
|
||||
for (size_t i = 0; i < rows_n; ++i) {
|
||||
for (i = 0; i < rows_n; ++i) {
|
||||
f_row_t *row = VECTOR_AT(table->rows, i, f_row_t *);
|
||||
size_t ncols = columns_in_row(row);
|
||||
cols_n = MAX(cols_n, ncols);
|
||||
|
@ -236,9 +236,10 @@ size_t ft_row_count(const ft_table_t *table)
|
||||
size_t ft_col_count(const ft_table_t *table)
|
||||
{
|
||||
assert(table && table->rows);
|
||||
size_t i = 0;
|
||||
size_t cols_n = 0;
|
||||
size_t rows_n = vector_size(table->rows);
|
||||
for (size_t i = 0; i < rows_n; ++i) {
|
||||
for (i = 0; i < rows_n; ++i) {
|
||||
f_row_t *row = VECTOR_AT(table->rows, i, f_row_t *);
|
||||
size_t ncols = columns_in_row(row);
|
||||
cols_n = MAX(cols_n, ncols);
|
||||
|
Loading…
Reference in New Issue
Block a user