summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-01 19:25:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-01 19:25:52 +0000
commita4156c97a7eaea0360abdbc488f740cc4ad6f79f (patch)
tree6f31d124b977aa61430563f46633f2edac37a6be /man_html.c
parent604bf7765cfa3f1a7d5702f8b54d326e7aaab3a4 (diff)
downloadmandoc-a4156c97a7eaea0360abdbc488f740cc4ad6f79f.tar.gz
Clarity with respect to floating point handling:
Write double constants as double rather than integer literals. Remove useless explicit (double) cast done at one place and nowhere else. No functional change.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_html.c b/man_html.c
index 13bfd883..90cf629c 100644
--- a/man_html.c
+++ b/man_html.c
@@ -388,7 +388,7 @@ man_br_pre(MAN_ARGS)
if ( ! a2roffsu(n->string, &su, SCALE_VS))
SCALE_VS_INIT(&su, atoi(n->string));
} else
- su.scale = 0;
+ su.scale = 0.0;
bufinit(h);
bufcat_su(h, "height", &su);