diff options
author | 2015-10-12 00:14:41 +0000 | |
---|---|---|
committer | 2015-10-12 00:14:41 +0000 | |
commit | 5f57b3c91256e811ec40a5253cad6e3626622d25 (patch) | |
tree | 98c9fe2fc9f8b6d5fe7583c997e38f5963a5f706 | |
parent | To make the code more readable, delete 283 /* FALLTHROUGH */ comments (diff) | |
download | wireguard-openbsd-5f57b3c91256e811ec40a5253cad6e3626622d25.tar.xz wireguard-openbsd-5f57b3c91256e811ec40a5253cad6e3626622d25.zip |
Fix an obvious bug found during the /* FALLTHROUGH */ cleanup:
ASCII_NBRSP has to be rendered as " ", not "-".
-rw-r--r-- | usr.bin/mandoc/html.c | 4 |
1 files 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 <kristaps@bsd.lv> * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -316,7 +316,7 @@ print_escape(char c) printf("""); break; case ASCII_NBRSP: - putchar('-'); + printf(" "); break; case ASCII_HYPH: putchar('-'); |