From 5f57b3c91256e811ec40a5253cad6e3626622d25 Mon Sep 17 00:00:00 2001 From: schwarze Date: Mon, 12 Oct 2015 00:14:41 +0000 Subject: [PATCH] Fix an obvious bug found during the /* FALLTHROUGH */ cleanup: ASCII_NBRSP has to be rendered as " ", not "-". --- usr.bin/mandoc/html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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('-'); -- 2.20.1