summaryrefslogtreecommitdiffstats
path: root/src/utils/libsmartcols/src/calculate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/libsmartcols/src/calculate.c')
-rw-r--r--src/utils/libsmartcols/src/calculate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/libsmartcols/src/calculate.c b/src/utils/libsmartcols/src/calculate.c
index b6137fd..974fc34 100644
--- a/src/utils/libsmartcols/src/calculate.c
+++ b/src/utils/libsmartcols/src/calculate.c
@@ -325,7 +325,7 @@ int __scols_calculate(struct libscols_table *tb, struct libscols_buffer *buf)
DBG(TAB, ul_debugobj(tb, " enlarge width (last column)"));
- if (!scols_column_is_right(col) && tb->termwidth - width > 0) {
+ if (!scols_column_is_right(col)) {
col->width += tb->termwidth - width;
width = tb->termwidth;
}