=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.73 retrieving revision 1.75 diff -u -p -r1.73 -r1.75 --- mandoc/man_term.c 2010/06/07 20:57:09 1.73 +++ mandoc/man_term.c 2010/06/10 23:24:37 1.75 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.73 2010/06/07 20:57:09 kristaps Exp $ */ +/* $Id: man_term.c,v 1.75 2010/06/10 23:24:37 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -73,9 +73,9 @@ struct termact { static int a2width(const struct man_node *); static int a2height(const struct man_node *); -static void print_man_head(struct termp *, const void *); static void print_man_nodelist(DECL_ARGS); static void print_man_node(DECL_ARGS); +static void print_man_head(struct termp *, const void *); static void print_man_foot(struct termp *, const void *); static void print_bvspace(struct termp *, const struct man_node *); @@ -158,9 +158,8 @@ terminal_man(void *arg, const struct man *man) p->overstep = 0; p->maxrmargin = p->defrmargin; + p->tabwidth = 5; - term_begin(p, print_man_head, print_man_foot, man_meta(man)); - if (NULL == p->symtab) switch (p->enc) { case (TERMENC_ASCII): @@ -174,6 +173,7 @@ terminal_man(void *arg, const struct man *man) n = man_node(man); m = man_meta(man); + term_begin(p, print_man_head, print_man_foot, m); p->flags |= TERMP_NOSPACE; mt.fl = 0;