diff options
author | 2012-07-18 10:36:20 +0000 | |
---|---|---|
committer | 2012-07-18 10:36:20 +0000 | |
commit | 6374af4d0d68221026cc34af47306c18cdecdbd2 (patch) | |
tree | 47e6899c82f79e2b001483f612de84e187b31cf1 /usr.bin/mandoc/mdoc.c | |
parent | style (diff) | |
download | wireguard-openbsd-6374af4d0d68221026cc34af47306c18cdecdbd2.tar.xz wireguard-openbsd-6374af4d0d68221026cc34af47306c18cdecdbd2.zip |
The mdoc(7) \*(Ba predefined string actually forces roman font;
that's stupid because it may break enclosing font changes,
but let's do the same for groff bug compatibility.
--> Never use \*(Ba, use just plain "|"! <--
Also, predefined strings are already expanded by the roff(7) parser,
so the mdoc(7) parser has to look for the expanded string.
Formatting improvements in ksh(1), less(1), atan2(3),
hostapd.conf(5), snmpd.conf(5), and mknod(8).
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index 1b49827545a..ca5b09b2550 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.89 2012/07/16 09:51:03 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.90 2012/07/18 10:36:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -978,7 +978,7 @@ mdoc_isdelim(const char *p) if (0 == strcmp(p + 1, ".")) return(DELIM_CLOSE); - if (0 == strcmp(p + 1, "*(Ba")) + if (0 == strcmp(p + 1, "fR|\\fP")) return(DELIM_MIDDLE); return(DELIM_NONE); |