From 627a4caec7519aa0479398c3e48bdd78999d2fc8 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 12 Nov 2009 08:21:05 +0000 Subject: Fixed \c support for all input and output modes (documented in mandoc_char.7). --- term.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'term.c') diff --git a/term.c b/term.c index 057d5e2f..4ab35a2d 100644 --- a/term.c +++ b/term.c @@ -487,7 +487,10 @@ term_word(struct termp *p, const char *word) default: break; } + word += sz; + if (DECO_NOSPACE == deco && '\0' == *word) + p->flags |= TERMP_NOSPACE; } if (sv[0] && 0 == sv[1]) -- cgit