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

Diff for /mandoc/eqn_term.c between version 1.14 and 1.15

version 1.14, 2017/08/23 20:03:17 version 1.15, 2017/08/23 20:29:42
Line 90  eqn_box(struct termp *p, const struct eqn_box *bp)
Line 90  eqn_box(struct termp *p, const struct eqn_box *bp)
         if (bp->font != EQNFONT_NONE)          if (bp->font != EQNFONT_NONE)
                 term_fontpush(p, fontmap[(int)bp->font]);                  term_fontpush(p, fontmap[(int)bp->font]);
   
         if (bp->text != NULL)          if (bp->text != NULL) {
                   if (strchr("!\"'),.:;?]}", *bp->text) != NULL)
                           p->flags |= TERMP_NOSPACE;
                 term_word(p, bp->text);                  term_word(p, bp->text);
                   if (*bp->text != '\0' && strchr("\"'([{",
                       bp->text[strlen(bp->text) - 1]) != NULL)
                           p->flags |= TERMP_NOSPACE;
           }
   
         /* Special box types. */          /* Special box types. */
   

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb