From ae0abae2835af6b5532ee7e48d5fd8a4792c4b1a Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 Apr 2014 16:59:44 +0200 Subject: [PATCH] libsmartcols: fix padding Signed-off-by: Karel Zak --- libsmartcols/src/table_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c index 082cc0bf35..91cff930f0 100644 --- a/libsmartcols/src/table_print.c +++ b/libsmartcols/src/table_print.c @@ -186,7 +186,7 @@ static int print_data(struct libscols_table *tb, } } for (i = len; i < width; i++) - fputs(colsep(tb), tb->out); /* padding */ + fputs(" ", tb->out); /* padding */ if (!is_last_column(tb, cl)) { if (len > width && !scols_column_is_trunc(cl)) { -- 2.47.2