[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.230 and 1.233

version 1.230, 2011/05/17 14:38:34 version 1.233, 2011/07/22 10:50:46
Line 351  print_mdoc_node(DECL_ARGS)
Line 351  print_mdoc_node(DECL_ARGS)
                         p->flags |= TERMP_NOSPACE;                          p->flags |= TERMP_NOSPACE;
                 break;                  break;
         case (MDOC_EQN):          case (MDOC_EQN):
                 term_word(p, n->eqn->data);                  term_eqn(p, n->eqn);
                 break;                  break;
         case (MDOC_TBL):          case (MDOC_TBL):
                 term_tbl(p, n->span);                  term_tbl(p, n->span);
Line 523  a2height(const struct termp *p, const char *v)
Line 523  a2height(const struct termp *p, const char *v)
 {  {
         struct roffsu    su;          struct roffsu    su;
   
   
         assert(v);          assert(v);
         if ( ! a2roffsu(v, &su, SCALE_VS))          if ( ! a2roffsu(v, &su, SCALE_VS))
                 SCALE_VS_INIT(&su, term_len(p, 1));                  SCALE_VS_INIT(&su, atoi(v));
   
         return(term_vspan(p, &su));          return(term_vspan(p, &su));
 }  }

Legend:
Removed from v.1.230  
changed lines
  Added in v.1.233

CVSweb