[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.16 and 1.18

version 1.16, 2009/06/22 12:04:05 version 1.18, 2009/06/22 13:13:10
Line 776  termp_it_pre(DECL_ARGS)
Line 776  termp_it_pre(DECL_ARGS)
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Dash):          case (MDOC_Dash):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Enum):  
                 /* FALLTHROUGH */  
         case (MDOC_Hyphen):          case (MDOC_Hyphen):
                 if (width < 4)                  if (width < 4)
                         width = 4;                          width = 4;
                 break;                  break;
           case (MDOC_Enum):
                   if (width < 5)
                           width = 5;
                   break;
         case (MDOC_Tag):          case (MDOC_Tag):
                 if (0 == width)                  if (0 == width)
                         width = 10;                          width = 10;
Line 791  termp_it_pre(DECL_ARGS)
Line 793  termp_it_pre(DECL_ARGS)
         }          }
   
         /*          /*
          * Whitespace control.  Inset bodies need an initial space.           * Whitespace control.  Inset bodies need an initial space,
            * while diagonal bodies need two.
          */           */
   
         switch (type) {          switch (type) {
         case (MDOC_Diag):          case (MDOC_Diag):
                   term_word(p, "\\ ");
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Inset):          case (MDOC_Inset):
                 if (MDOC_BODY == node->type)                  if (MDOC_BODY == node->type)
Line 1305  termp_lb_pre(DECL_ARGS)
Line 1309  termp_lb_pre(DECL_ARGS)
         const char      *lb;          const char      *lb;
   
         assert(node->child && MDOC_TEXT == node->child->type);          assert(node->child && MDOC_TEXT == node->child->type);
         if ((lb = mdoc_a2lib(node->child->string))) {          lb = mdoc_a2lib(node->child->string);
           if (lb) {
                 term_word(p, lb);                  term_word(p, lb);
                 return(0);                  return(0);
         }          }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

CVSweb