diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2012-07-29 16:30:53 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2012-07-29 16:30:53 +0000 |
commit | 323c82807a8225799aca84ee464a0dabb8cb31e9 (patch) | |
tree | b3b4272437aa4bdffeebc94e1b0be906fd7170f0 /usr.bin/mandoc | |
parent | 3bb8128838bc20238e6bfb71d38daa226169bd62 (diff) |
The '-' before the flags needs to be quoted to prevent nroff
from putting a line break between the '-' and the flag character.
OK schwarze@
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/mdoc_man.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index df732024ec0..927d3aecd4a 100644 --- a/usr.bin/mandoc/mdoc_man.c +++ b/usr.bin/mandoc/mdoc_man.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.39 2012/07/29 16:29:56 millert Exp $ */ +/* $Id: mdoc_man.c,v 1.40 2012/07/29 16:30:52 millert Exp $ */ /* * Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org> * @@ -971,7 +971,7 @@ pre_fl(DECL_ARGS) { font_push('B'); - print_word("-"); + print_word("\\-"); outflags &= ~MMAN_spc; return(1); } |