diff options
author | 2013-05-29 15:40:14 +0000 | |
---|---|---|
committer | 2013-05-29 15:40:14 +0000 | |
commit | 0ad6ab48fcebcaeb8875ca1e52090903a0922464 (patch) | |
tree | 3b67d041b70c9e434b3857f72020abe8806aa7d1 /usr.bin/mandoc/mdoc_man.c | |
parent | In keep mode, if any text is printed (even in NOSPACE mode), (diff) | |
download | wireguard-openbsd-0ad6ab48fcebcaeb8875ca1e52090903a0922464.tar.xz wireguard-openbsd-0ad6ab48fcebcaeb8875ca1e52090903a0922464.zip |
In SYNOPSIS mode, .Ek doesn't end a keep.
Found and fixed on the plane to the OpenBSD t2k13 hackathon in Toronto.
Diffstat (limited to 'usr.bin/mandoc/mdoc_man.c')
-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 0b172127d9e..4ad95c77063 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.48 2013/05/19 21:40:18 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.49 2013/05/29 15:40:14 schwarze Exp $ */ /* * Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> * @@ -897,7 +897,7 @@ static void post_bk(DECL_ARGS) { - if (MDOC_BODY == n->type) + if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags)) outflags &= ~MMAN_Bk; } |