]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: accept no data for custom wrapping cells
authorKarel Zak <kzak@redhat.com>
Tue, 14 Nov 2023 11:46:49 +0000 (12:46 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Nov 2023 11:46:49 +0000 (12:46 +0100)
commit2071997e98a8d78a235e83ba48e06023ee92b9d0
tree3bbeac93318ddf9570c3dfed6236b0c94bb82515
parentf169ab3dff8d5a6fe4e1a9a1234b0dceb6607b58
libsmartcols: accept no data for custom wrapping cells

Don't re-use previously used 'rc' variable, otherwise empty cell will
be interpreted as error.

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