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

Diff for /mandoc/html.c between version 1.159 and 1.163

version 1.159, 2014/07/23 15:00:08 version 1.163, 2014/08/14 00:31:43
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
 #include <sys/types.h>  #include <sys/types.h>
   
Line 761  bufcat_su(struct html *h, const char *p, const struct 
Line 759  bufcat_su(struct html *h, const char *p, const struct 
         v = su->scale;          v = su->scale;
         if (SCALE_MM == su->unit && 0.0 == (v /= 100.0))          if (SCALE_MM == su->unit && 0.0 == (v /= 100.0))
                 v = 1.0;                  v = 1.0;
           else if (SCALE_BU == su->unit)
                   v /= 24.0;
   
         bufcat_fmt(h, "%s: %.2f%s;", p, v, roffscales[su->unit]);          bufcat_fmt(h, "%s: %.2f%s;", p, v, roffscales[su->unit]);
 }  }

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.163

CVSweb