[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.26 and 1.27

version 1.26, 2009/07/12 16:52:41 version 1.27, 2009/07/12 16:55:11
Line 908  termp_it_pre(DECL_ARGS)
Line 908  termp_it_pre(DECL_ARGS)
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (MDOC_Hyphen):                  case (MDOC_Hyphen):
                         p->flags |= TERMP_BOLD;                          p->flags |= TERMP_BOLD;
                         term_word(p, "\\-");                          term_word(p, "\\(hy");
                         break;                          break;
                 case (MDOC_Enum):                  case (MDOC_Enum):
                         (pair->ppair->ppair->count)++;                          (pair->ppair->ppair->count)++;
Line 1137  termp_nd_pre(DECL_ARGS)
Line 1137  termp_nd_pre(DECL_ARGS)
          * produces a minus sign after the Nd, which is wrong, but is           * produces a minus sign after the Nd, which is wrong, but is
          * consistent with the historic OpenBSD tmac file.           * consistent with the historic OpenBSD tmac file.
          */           */
 #ifdef __OpenBSD__  #if defined(__OpenBSD__) || defined(__linux__)
         term_word(p, "\\-");          term_word(p, "\\-");
 #else  #else
         term_word(p, "\\(em");          term_word(p, "\\(em");

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

CVSweb