summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-12 08:21:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-12 08:21:05 +0000
commit627a4caec7519aa0479398c3e48bdd78999d2fc8 (patch)
tree09daefac911456b7ccab04fae0d27464db17e1b2 /out.c
parent8f5752d2fe1a20c227cf2afa8c9253a374b6d0b2 (diff)
downloadmandoc-627a4caec7519aa0479398c3e48bdd78999d2fc8.tar.gz
Fixed \c support for all input and output modes (documented in mandoc_char.7).
Diffstat (limited to 'out.c')
-rw-r--r--out.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/out.c b/out.c
index 11f463e5..dd584d7a 100644
--- a/out.c
+++ b/out.c
@@ -331,6 +331,11 @@ a2roffdeco(enum roffdeco *d,
case ('['):
break;
+ case ('c'):
+ *d = DECO_NOSPACE;
+ *sz = 1;
+ return(1);
+
default:
*d = DECO_SPECIAL;
*word = wp;