[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.184 and 1.185

version 1.184, 2010/09/04 19:01:52 version 1.185, 2010/09/23 20:40:00
Line 1031  termp_nm_pre(DECL_ARGS)
Line 1031  termp_nm_pre(DECL_ARGS)
                 synopsis_pre(p, n->parent);                  synopsis_pre(p, n->parent);
   
         if (MDOC_HEAD == n->type && n->next->child) {          if (MDOC_HEAD == n->type && n->next->child) {
                 p->flags |= TERMP_NOSPACE | TERMP_NOBREAK | TERMP_HANG;                  p->flags |= TERMP_NOSPACE | TERMP_NOBREAK;
                 p->rmargin = p->offset + term_len(p, 1) +                  p->rmargin = p->offset + term_len(p, 1);
                     (NULL == n->child ? term_strlen(p, m->name) :                  if (NULL == n->child) {
                      MDOC_TEXT == n->child->type ?                          p->rmargin += term_strlen(p, m->name);
                         term_strlen(p, n->child->string) :                  } else if (MDOC_TEXT == n->child->type) {
                      term_len(p, 5));                          p->rmargin += term_strlen(p, n->child->string);
                           if (n->child->next)
                                   p->flags |= TERMP_HANG;
                   } else {
                           p->rmargin += term_len(p, 5);
                           p->flags |= TERMP_HANG;
                   }
         }          }
   
         term_fontpush(p, TERMFONT_BOLD);          term_fontpush(p, TERMFONT_BOLD);

Legend:
Removed from v.1.184  
changed lines
  Added in v.1.185

CVSweb