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

Diff for /mandoc/term.c between version 1.40 and 1.41

version 1.40, 2009/03/04 14:13:05 version 1.41, 2009/03/04 14:41:40
Line 536  termp_it_pre(DECL_ARGS)
Line 536  termp_it_pre(DECL_ARGS)
                         p->flags |= TERMP_NOBREAK;                          p->flags |= TERMP_NOBREAK;
                 else                  else
                         p->flags |= TERMP_NOLPAD;                          p->flags |= TERMP_NOLPAD;
                   if (MDOC_HEAD == node->type && MDOC_Tag == type)
                           if (NULL == node->next ||
                                           NULL == node->next->child)
                                   p->flags |= TERMP_NONOBREAK;
                 break;                  break;
         case (MDOC_Diag):          case (MDOC_Diag):
                 if (MDOC_HEAD == node->type)                  if (MDOC_HEAD == node->type)
Line 1662  static int
Line 1666  static int
 termp__t_pre(DECL_ARGS)  termp__t_pre(DECL_ARGS)
 {  {
   
           /* FIXME: titles are underlined. */
         word(p, "\"");          word(p, "\"");
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         return(1);          return(1);
Line 1674  termp__t_post(DECL_ARGS)
Line 1679  termp__t_post(DECL_ARGS)
 {  {
   
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
           /* FIXME: titles are underlined. */
         word(p, "\"");          word(p, "\"");
         word(p, node->next ? "," : ".");          word(p, node->next ? "," : ".");
 }  }

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

CVSweb