[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.311 and 1.312

version 1.311, 2015/02/17 20:37:17 version 1.312, 2015/03/06 13:09:07
Line 1808  static int
Line 1808  static int
 termp_sp_pre(DECL_ARGS)  termp_sp_pre(DECL_ARGS)
 {  {
         struct roffsu    su;          struct roffsu    su;
         size_t           i, len;          int              i, len;
   
         switch (n->tok) {          switch (n->tok) {
         case MDOC_sp:          case MDOC_sp:
Line 1829  termp_sp_pre(DECL_ARGS)
Line 1829  termp_sp_pre(DECL_ARGS)
   
         if (0 == len)          if (0 == len)
                 term_newln(p);                  term_newln(p);
         for (i = 0; i < len; i++)          else if (len < 0)
                 term_vspace(p);                  p->skipvsp -= len;
           else
                   for (i = 0; i < len; i++)
                           term_vspace(p);
   
         return(0);          return(0);
 }  }

Legend:
Removed from v.1.311  
changed lines
  Added in v.1.312

CVSweb