diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 22:26:05 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 22:26:05 +0000 |
commit | 2ba814d7db70eb5d286afab67d67716cd8d0906e (patch) | |
tree | 46ced420234e1238f8ff6bccf26096bef4307c16 /term.c | |
parent | 24ce22505f53c465459aae9ef86b0d767b2d69e7 (diff) | |
download | mandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.tar.gz mandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.tar.zst mandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.zip |
Make `Sm' start no-spacing after the first output word. Fix in both
-T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.165 2010/07/26 21:58:41 kristaps Exp $ */ +/* $Id: term.c,v 1.166 2010/07/26 22:26:05 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -502,6 +502,8 @@ term_word(struct termp *p, const char *word) if ( ! (p->flags & TERMP_NONOSPACE)) p->flags &= ~TERMP_NOSPACE; + else + p->flags |= TERMP_NOSPACE; p->flags &= ~TERMP_SENTENCE; |