=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/roff_html.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/mandoc/roff_html.c 2017/06/06 15:00:56 1.7 +++ src/usr.bin/mandoc/roff_html.c 2017/06/08 12:54:40 1.8 @@ -1,4 +1,4 @@ -/* $OpenBSD: roff_html.c,v 1.7 2017/06/06 15:00:56 schwarze Exp $ */ +/* $OpenBSD: roff_html.c,v 1.8 2017/06/08 12:54:40 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * Copyright (c) 2014, 2017 Ingo Schwarze @@ -83,7 +83,7 @@ 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;