summaryrefslogtreecommitdiffstats
path: root/mandoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mandoc.c b/mandoc.c
index e9cfc632..b60691a2 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -369,8 +369,15 @@ out:
switch (gly) {
case (ESCAPE_FONT):
- if (1 != rlim)
+ /*
+ * Pretend that the constant-width font modes are the
+ * same as the regular font modes.
+ */
+ if (2 == rlim && 'C' == *rstart)
+ rstart++;
+ else if (1 != rlim)
break;
+
switch (*rstart) {
case ('3'):
/* FALLTHROUGH */