]> mj.ucw.cz Git - libucw.git/commitdiff
tableprinter: update of documentation
authorRobert Kessl <kesslr@centrum.cz>
Tue, 8 Jul 2014 11:17:38 +0000 (13:17 +0200)
committerRobert Kessl <kesslr@centrum.cz>
Tue, 8 Jul 2014 11:17:38 +0000 (13:17 +0200)
ucw/doc/table.txt

index 5185cd63a92a4f3fe75d5590c25dc477b25fe24b..4c8eee155cb58f6f2958bdae293ac1fa6605e2a6 100644 (file)
@@ -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"),