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

Diff for /mandoc/term_ps.c between version 1.19 and 1.20

version 1.19, 2010/06/30 12:27:55 version 1.20, 2010/06/30 12:30:36
Line 359  static const struct font fonts[TERMFONT__MAX] = {
Line 359  static const struct font fonts[TERMFONT__MAX] = {
         } while (/* CONSTCOND */ 0)          } while (/* CONSTCOND */ 0)
   
   
 static  size_t            ps_hspan(const struct termp *,  static  double            ps_hspan(const struct termp *,
                                 const struct roffsu *);                                  const struct roffsu *);
 static  size_t            ps_width(const struct termp *, char);  static  size_t            ps_width(const struct termp *, char);
 static  void              ps_advance(struct termp *, size_t);  static  void              ps_advance(struct termp *, size_t);
Line 828  ps_width(const struct termp *p, char c)
Line 828  ps_width(const struct termp *p, char c)
 }  }
   
   
 static size_t  static double
 ps_hspan(const struct termp *p, const struct roffsu *su)  ps_hspan(const struct termp *p, const struct roffsu *su)
 {  {
         double           r;          double           r;
Line 871  ps_hspan(const struct termp *p, const struct roffsu *s
Line 871  ps_hspan(const struct termp *p, const struct roffsu *s
                 break;                  break;
         }          }
   
         /* Explicitly disallow negative values. */          return(r);
   
         if (r < 0.0)  
                 r = 0.0;  
   
         return((size_t)/* LINTED */  
                         r);  
 }  }
   

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

CVSweb