diff options
author | Manuel Bentele | 2021-12-07 10:17:15 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-12-07 10:17:15 +0100 |
commit | 424839be05e2f4c5d4684ab0c37e00c2881672bd (patch) | |
tree | b6fa21c4f6f5a64782f941c4eaf4ae67c7995f89 /src/utils/libsmartcols/src/calculate.c | |
parent | Fix issue in CMake kernel header check (diff) | |
download | xloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.tar.gz xloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.tar.xz xloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.zip |
Update xlosetup from util-linux v2.37.2
Diffstat (limited to 'src/utils/libsmartcols/src/calculate.c')
-rw-r--r-- | src/utils/libsmartcols/src/calculate.c | 2 |
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; } |