From 5034fae83a7c3560d75ef5c746dcb535d3d97766 Mon Sep 17 00:00:00 2001 From: Robert Kessl Date: Wed, 25 Jun 2014 14:11:01 +0200 Subject: [PATCH] tableprinter: table_clean_row renamed to table_reset_row --- ucw/table.c | 4 ++-- ucw/table.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ucw/table.c b/ucw/table.c index 4666395f..0906ec75 100644 --- a/ucw/table.c +++ b/ucw/table.c @@ -311,7 +311,7 @@ void table_append_printf(struct table *tbl, const char *fmt, ...) va_end(args); } -void table_clean_row(struct table *tbl) +void table_reset_row(struct table *tbl) { memset(tbl->col_str_ptrs, 0, sizeof(char *) * tbl->column_count); mp_restore(tbl->pool, &tbl->pool_state); @@ -324,7 +324,7 @@ void table_end_row(struct table *tbl) ASSERT(tbl->formatter->row_output); if(tbl->row_printing_started == 0) return; tbl->formatter->row_output(tbl); - table_clean_row(tbl); + table_reset_row(tbl); } /* Construction of a cell using a fastbuf */ diff --git a/ucw/table.h b/ucw/table.h index cd030b7f..3fd4e343 100644 --- a/ucw/table.h +++ b/ucw/table.h @@ -295,9 +295,9 @@ void table_col_fbend(struct table *tbl); void table_end_row(struct table *tbl); /** - * Cleans current row, When called. + * Resets data in current row. **/ -void table_clean_row(struct table *tbl); +void table_reset_row(struct table *tbl); /*** * Configuration functions -- 2.39.2