[BACK]Return to tbl_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/tbl_html.c between version 1.17 and 1.18

version 1.17, 2017/06/12 20:14:03 version 1.18, 2017/07/31 16:14:04
Line 47 
Line 47 
 static size_t  static size_t
 html_tbl_sulen(const struct roffsu *su, void *arg)  html_tbl_sulen(const struct roffsu *su, void *arg)
 {  {
           if (su->scale < 0.0)
                   return 0;
   
         switch (su->unit) {          switch (su->unit) {
         case SCALE_FS:  /* 2^16 basic units */          case SCALE_FS:  /* 2^16 basic units */
                 return su->scale * 65536.0 / 24.0;                  return su->scale * 65536.0 / 24.0;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18