[BACK]Return to mdoc_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_term.c between version 1.71 and 1.75

version 1.71, 2009/09/17 13:17:30 version 1.75, 2009/09/20 19:25:06
Line 424  print_foot(DECL_ARGS)
Line 424  print_foot(DECL_ARGS)
 }  }
   
   
   /* FIXME: put in utility library. */
 /* ARGSUSED */  /* ARGSUSED */
 static void  static void
 print_head(DECL_ARGS)  print_head(DECL_ARGS)
Line 493  print_head(DECL_ARGS)
Line 494  print_head(DECL_ARGS)
 }  }
   
   
 /* TODO: put into util file. */  /* FIXME: put in utility file for front-ends. */
 static size_t  static size_t
 arg_width(const struct mdoc_argv *arg, int pos)  arg_width(const struct mdoc_argv *arg, int pos)
 {  {
Line 520  arg_width(const struct mdoc_argv *arg, int pos)
Line 521  arg_width(const struct mdoc_argv *arg, int pos)
 }  }
   
   
   /* FIXME: put in utility file for front-ends. */
 static int  static int
 arg_listtype(const struct mdoc_node *n)  arg_listtype(const struct mdoc_node *n)
 {  {
Line 561  arg_listtype(const struct mdoc_node *n)
Line 563  arg_listtype(const struct mdoc_node *n)
 }  }
   
   
   /* FIXME: put in utility file for front-ends. */
 static size_t  static size_t
 arg_offset(const struct mdoc_argv *arg)  arg_offset(const struct mdoc_argv *arg)
 {  {
Line 760  termp_it_pre(DECL_ARGS)
Line 763  termp_it_pre(DECL_ARGS)
                  * the 0 will be adjusted to default 10 or, if in the                   * the 0 will be adjusted to default 10 or, if in the
                  * last column case, set to stretch to the margin).                   * last column case, set to stretch to the margin).
                  */                   */
                 for (i = 0, n = node->prev; n && n &&                  for (i = 0, n = node->prev; n &&
                                 i < (int)bl->args[vals[2]].argv->sz;                                  i < (int)bl->args[vals[2]].argv->sz;
                                 n = n->prev, i++)                                  n = n->prev, i++)
                         offset += arg_width                          offset += arg_width

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.75

CVSweb