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

Diff for /mandoc/term.c between version 1.240 and 1.242

version 1.240, 2014/12/23 13:48:57 version 1.242, 2014/12/24 23:32:42
Line 273  term_flushln(struct termp *p)
Line 273  term_flushln(struct termp *p)
         }          }
   
         if (TERMP_HANG & p->flags) {          if (TERMP_HANG & p->flags) {
                 p->overstep = (int)(vis - maxvis +                  p->overstep += (int)(p->offset + vis - p->rmargin +
                     p->trailspace * (*p->width)(p, ' '));                      p->trailspace * (*p->width)(p, ' '));
   
                 /*                  /*
Line 773  int
Line 773  int
 term_vspan(const struct termp *p, const struct roffsu *su)  term_vspan(const struct termp *p, const struct roffsu *su)
 {  {
         double           r;          double           r;
           int              ri;
   
         switch (su->unit) {          switch (su->unit) {
         case SCALE_BU:          case SCALE_BU:
Line 808  term_vspan(const struct termp *p, const struct roffsu 
Line 809  term_vspan(const struct termp *p, const struct roffsu 
                 abort();                  abort();
                 /* NOTREACHED */                  /* NOTREACHED */
         }          }
         return(r > 0.0 ? r + 0.4995 : r - 0.4995);          ri = r > 0.0 ? r + 0.4995 : r - 0.4995;
           return(ri < 66 ? ri : 1);
 }  }
   
 int  int

Legend:
Removed from v.1.240  
changed lines
  Added in v.1.242

CVSweb