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

Diff for /mandoc/term.c between version 1.206 and 1.207

version 1.206, 2012/11/16 17:16:55 version 1.207, 2013/05/29 15:17:52
Line 406  term_word(struct termp *p, const char *word)
Line 406  term_word(struct termp *p, const char *word)
   
         if ( ! (TERMP_NOSPACE & p->flags)) {          if ( ! (TERMP_NOSPACE & p->flags)) {
                 if ( ! (TERMP_KEEP & p->flags)) {                  if ( ! (TERMP_KEEP & p->flags)) {
                         if (TERMP_PREKEEP & p->flags)  
                                 p->flags |= TERMP_KEEP;  
                         bufferc(p, ' ');                          bufferc(p, ' ');
                         if (TERMP_SENTENCE & p->flags)                          if (TERMP_SENTENCE & p->flags)
                                 bufferc(p, ' ');                                  bufferc(p, ' ');
                 } else                  } else
                         bufferc(p, ASCII_NBRSP);                          bufferc(p, ASCII_NBRSP);
         }          }
           if (TERMP_PREKEEP & p->flags)
                   p->flags |= TERMP_KEEP;
   
         if ( ! (p->flags & TERMP_NONOSPACE))          if ( ! (p->flags & TERMP_NONOSPACE))
                 p->flags &= ~TERMP_NOSPACE;                  p->flags &= ~TERMP_NOSPACE;

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.207

CVSweb