]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: fixes issue with 0 width columns
authortaiyu <taiyu.len@gmail.com>
Thu, 15 Feb 2018 06:50:36 +0000 (22:50 -0800)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Feb 2018 11:27:23 +0000 (12:27 +0100)
commit0f9b4f2f3a2b24e38713ad7a001be461e8fd1649
tree8f540a61d27d27a0e95a0d4a30fc843664f3bbee
parent0f9f927b6f62cb7f488fadfad76c4a5defdefe36
libsmartcols: fixes issue with 0 width columns

[kzak@redhat.com: - it's possible that column has zero width when
 minimal width is reduced due to very small terminal. In this case
 make sure that we do not use such column at all.]

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table_print.c