libsmartcols: fix stupid typo

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2016-02-24 13:42:28 +01:00
parent 249fc8fe89
commit 1c3ed5bf17
1 changed files with 1 additions and 2 deletions

View File

@ -957,8 +957,7 @@ static int count_column_width(struct libscols_table *tb,
cl->width = 0;
if (cl->width_min) {
if (!cl->width_min) {
if (cl->width_hint < 1 && scols_table_is_maxout(tb))
cl->width_min = (size_t) (cl->width_hint * tb->termwidth) - (is_last_column(cl) ? 0 : 1);
if (scols_cell_get_data(&cl->header)) {