=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/man_html.c,v retrieving revision 1.95 retrieving revision 1.96 diff -c -r1.95 -r1.96 *** src/usr.bin/mandoc/man_html.c 2017/05/09 14:09:37 1.95 --- src/usr.bin/mandoc/man_html.c 2017/06/08 12:54:40 1.96 *************** *** 1,4 **** ! /* $OpenBSD: man_html.c,v 1.95 2017/05/09 14:09:37 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: man_html.c,v 1.96 2017/06/08 12:54:40 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze *************** *** 356,368 **** static int a2width(const struct roff_node *n, struct roffsu *su) { - if (n->type != ROFFT_TEXT) return 0; ! if (a2roffsu(n->string, su, SCALE_EN)) ! return 1; ! ! return 0; } static void --- 356,364 ---- static int a2width(const struct roff_node *n, struct roffsu *su) { if (n->type != ROFFT_TEXT) return 0; ! return a2roffsu(n->string, su, SCALE_EN) != NULL; } static void