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

Diff for /mandoc/term.c between version 1.272 and 1.274

version 1.272, 2017/06/14 18:23:37 version 1.274, 2017/07/28 14:25:48
Line 129  term_flushln(struct termp *p)
Line 129  term_flushln(struct termp *p)
             p->maxrmargin - p->viscol - vbl : 0;              p->maxrmargin - p->viscol - vbl : 0;
         vis = vend = 0;          vis = vend = 0;
   
         if ((p->flags && TERMP_MULTICOL) == 0)          if ((p->flags & TERMP_MULTICOL) == 0)
                 p->tcol->col = 0;                  p->tcol->col = 0;
         while (p->tcol->col < p->tcol->lastcol) {          while (p->tcol->col < p->tcol->lastcol) {
   
Line 526  term_word(struct termp *p, const char *word)
Line 526  term_word(struct termp *p, const char *word)
                                 p->flags |= (TERMP_NOSPACE | TERMP_NONEWLINE);                                  p->flags |= (TERMP_NOSPACE | TERMP_NONEWLINE);
                         continue;                          continue;
                 case ESCAPE_HORIZ:                  case ESCAPE_HORIZ:
                           if (*seq == '|') {
                                   seq++;
                                   uc = -p->col;
                           } else
                                   uc = 0;
                         if (a2roffsu(seq, &su, SCALE_EM) == NULL)                          if (a2roffsu(seq, &su, SCALE_EM) == NULL)
                                 continue;                                  continue;
                         uc = term_hen(p, &su);                          uc += term_hen(p, &su);
                         if (uc > 0)                          if (uc > 0)
                                 while (uc-- > 0)                                  while (uc-- > 0)
                                         bufferc(p, ASCII_NBRSP);                                          bufferc(p, ASCII_NBRSP);

Legend:
Removed from v.1.272  
changed lines
  Added in v.1.274

CVSweb