summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_validate.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-02-17 20:33:44 +0000
committerschwarze <schwarze@openbsd.org>2015-02-17 20:33:44 +0000
commitefdfe1084ad87cb24d9def7a68d049441895c15a (patch)
tree2cdba01f4785902835a5197f7258175d42728970 /usr.bin/mandoc/mdoc_validate.c
parentRevert the first chunk of 1.25. (diff)
downloadwireguard-openbsd-efdfe1084ad87cb24d9def7a68d049441895c15a.tar.xz
wireguard-openbsd-efdfe1084ad87cb24d9def7a68d049441895c15a.zip
Render \(lq and \(rq as '"' in -Tascii mode but leave the rendering
of .Do/.Dc, .Dq, .Lb, and .St untouched. Reduces groff-mandoc differences in base by about 7%. Reminded of the issue by naddy@.
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r--usr.bin/mandoc/mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c
index 3d74052cf5d..92aa434533a 100644
--- a/usr.bin/mandoc/mdoc_validate.c
+++ b/usr.bin/mandoc/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_validate.c,v 1.196 2015/02/16 19:02:32 schwarze Exp $ */
+/* $OpenBSD: mdoc_validate.c,v 1.197 2015/02/17 20:33:44 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -833,7 +833,7 @@ post_lb(POST_ARGS)
n = mdoc->last->child;
assert(MDOC_TEXT == n->type);
- mandoc_asprintf(&libname, "library \\(lq%s\\(rq", n->string);
+ mandoc_asprintf(&libname, "library \\(Lq%s\\(Rq", n->string);
free(n->string);
n->string = libname;
}