From: schwarze Date: Mon, 12 Oct 2015 00:14:41 +0000 (+0000) Subject: Fix an obvious bug found during the /* FALLTHROUGH */ cleanup: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5f57b3c91256e811ec40a5253cad6e3626622d25;p=openbsd Fix an obvious bug found during the /* FALLTHROUGH */ cleanup: ASCII_NBRSP has to be rendered as " ", not "-". --- diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c index c03df788b1c..348b43f950e 100644 --- a/usr.bin/mandoc/html.c +++ b/usr.bin/mandoc/html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: html.c,v 1.59 2015/10/12 00:07:27 schwarze Exp $ */ +/* $OpenBSD: html.c,v 1.60 2015/10/12 00:14:41 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015 Ingo Schwarze @@ -316,7 +316,7 @@ print_escape(char c) printf("""); break; case ASCII_NBRSP: - putchar('-'); + printf(" "); break; case ASCII_HYPH: putchar('-');