diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-06 14:43:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-06 14:43:14 +0000 |
commit | a3d2601486005576848664f22121fcd2881778e3 (patch) | |
tree | 9937bf2834cc70fa10f85a72d53749f356bd733f /mandoc.c | |
parent | 4c433934a384d19bd29d0468c0f871275f8c7fd0 (diff) | |
download | mandoc-a3d2601486005576848664f22121fcd2881778e3.tar.gz |
Accomodate for \f(Cx formatting. Noted by Andreas Vogele, thanks!
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 */ |