summaryrefslogtreecommitdiffstats
path: root/roff_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff_html.c')
-rw-r--r--roff_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roff_html.c b/roff_html.c
index 672a7444..30c49db3 100644
--- a/roff_html.c
+++ b/roff_html.c
@@ -83,7 +83,7 @@ roff_html_pre_sp(ROFF_HTML_ARGS)
SCALE_VS_INIT(&su, 1);
if ((n = n->child) != NULL) {
- if (a2roffsu(n->string, &su, SCALE_VS) == 0)
+ if (a2roffsu(n->string, &su, SCALE_VS) == NULL)
su.scale = 1.0;
else if (su.scale < 0.0)
su.scale = 0.0;