[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.41 and 1.43

version 1.41, 2009/07/14 16:03:51 version 1.43, 2009/07/16 13:27:24
Line 407  print_foot(struct termp *p, const struct mdoc_meta *me
Line 407  print_foot(struct termp *p, const struct mdoc_meta *me
   
         tm = localtime(&meta->date);          tm = localtime(&meta->date);
   
         if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm))          if (0 == strftime(buf, p->rmargin, "%B %e, %Y", tm))
                 err(1, "strftime");                  err(1, "strftime");
   
         (void)strlcpy(os, meta->os, p->rmargin);          (void)strlcpy(os, meta->os, p->rmargin);
Line 797  termp_it_pre(DECL_ARGS)
Line 797  termp_it_pre(DECL_ARGS)
          */           */
   
         switch (type) {          switch (type) {
         case (MDOC_Diag):  
                 term_word(p, "\\ ");  
                 /* FALLTHROUGH */  
         case (MDOC_Inset):          case (MDOC_Inset):
                 if (MDOC_BODY == node->type)                  if (MDOC_BODY == node->type)
                         p->flags &= ~TERMP_NOSPACE;                          p->flags &= ~TERMP_NOSPACE;
Line 988  termp_it_post(DECL_ARGS)
Line 985  termp_it_post(DECL_ARGS)
   
         switch (type) {          switch (type) {
         case (MDOC_Diag):          case (MDOC_Diag):
                   term_word(p, "\\ ");
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Item):          case (MDOC_Item):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */

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

CVSweb