=================================================================== RCS file: /cvs/mandoc/roff_html.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- mandoc/roff_html.c 2017/06/06 15:01:04 1.7 +++ mandoc/roff_html.c 2017/06/08 12:54:58 1.8 @@ -1,4 +1,4 @@ -/* $Id: roff_html.c,v 1.7 2017/06/06 15:01:04 schwarze Exp $ */ +/* $Id: roff_html.c,v 1.8 2017/06/08 12:54:58 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * Copyright (c) 2014, 2017 Ingo Schwarze @@ -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;