[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.268 and 1.269

version 1.268, 2014/07/02 03:48:07 version 1.269, 2014/07/02 19:55:10
Line 2056  static int
Line 2056  static int
 termp_sm_pre(DECL_ARGS)  termp_sm_pre(DECL_ARGS)
 {  {
   
         assert(n->child && MDOC_TEXT == n->child->type);          if (NULL == n->child)
         if (0 == strcmp("on", n->child->string)) {                  p->flags ^= TERMP_NONOSPACE;
                 if (p->col)          else if (0 == strcmp("on", n->child->string))
                         p->flags &= ~TERMP_NOSPACE;  
                 p->flags &= ~TERMP_NONOSPACE;                  p->flags &= ~TERMP_NONOSPACE;
         } else          else
                 p->flags |= TERMP_NONOSPACE;                  p->flags |= TERMP_NONOSPACE;
   
           if (p->col && ! (TERMP_NONOSPACE & p->flags))
                   p->flags &= ~TERMP_NOSPACE;
   
         return(0);          return(0);
 }  }

Legend:
Removed from v.1.268  
changed lines
  Added in v.1.269

CVSweb