From: Robert Kessl Date: Tue, 8 Jul 2014 11:17:38 +0000 (+0200) Subject: tableprinter: update of documentation X-Git-Tag: v6.1~3^2~111 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=033a59facff290e2e0f6ed2f97cee5b07cf99e12;p=libucw.git tableprinter: update of documentation --- diff --git a/ucw/doc/table.txt b/ucw/doc/table.txt index 5185cd63..4c8eee15 100644 --- a/ucw/doc/table.txt +++ b/ucw/doc/table.txt @@ -45,9 +45,9 @@ follows: struct table_col_info column_order[] = { TBL_COL(TBL_REC_ID), TBL_COL(TBL_REC_ALBUM_NAME) }; -The column order is supplied in the struct table using the TBL_COL_ORDER macro. +The column order is supplied in the struct table_template using the TBL_COL_ORDER macro. - struct table recording_table_template = { + struct table_template recording_table_template = { TBL_COLUMNS { [TBL_REC_ID] = TBL_COL_UINT("id", 16), [TBL_REC_ALBUM_NAME] = TBL_COL_STR_FMT("album-name", 20 | CELL_ALIGN_LEFT, "%s"),