diff options
author | 2015-10-12 15:29:35 +0000 | |
---|---|---|
committer | 2015-10-12 15:29:35 +0000 | |
commit | 0b00a696133cf26be258a362bd60da31baecd29f (patch) | |
tree | 5d98c9cf6bec92b21cd5a390f6cf2ede2a130fc2 /mdoc_term.c | |
parent | e8386453e665d523d7de82cd5ae291f0e9609bd5 (diff) | |
download | mandoc-0b00a696133cf26be258a362bd60da31baecd29f.tar.gz mandoc-0b00a696133cf26be258a362bd60da31baecd29f.tar.zst mandoc-0b00a696133cf26be258a362bd60da31baecd29f.zip |
Use "-" rather than "\(hy" for the heads of .Bl -dash and -hyphen lists.
In UTF-8 output, that renders as ASCII HYPHEN-MINUS (U+002D)
rather than HYPHEN (U+2010), which looks better and matches groff.
In ASCII output, it makes no difference.
Suggested by naddy@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 944a2282..b90a2090 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.329 2015/10/12 00:08:16 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.330 2015/10/12 15:29:35 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -887,7 +887,7 @@ termp_it_pre(DECL_ARGS) case LIST_dash: case LIST_hyphen: term_fontpush(p, TERMFONT_BOLD); - term_word(p, "\\(hy"); + term_word(p, "-"); term_fontpop(p); break; case LIST_enum: |