diff options
-rw-r--r-- | libsmartcols/src/table_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c index f65cce383..d6622be64 100644 --- a/libsmartcols/src/table_print.c +++ b/libsmartcols/src/table_print.c @@ -1339,7 +1339,7 @@ int scols_table_print_range( struct libscols_table *tb, } else scols_reset_iter(&itr, SCOLS_ITER_FORWARD); - if (itr.p == tb->tb_lines.next) { + if (!start || itr.p == tb->tb_lines.next) { rc = print_header(tb, buf); if (rc) goto done; |