From 2ba814d7db70eb5d286afab67d67716cd8d0906e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 26 Jul 2010 22:26:05 +0000 Subject: 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. --- term.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'term.c') diff --git a/term.c b/term.c index 603a6a34..c0507cda 100644 --- a/term.c +++ b/term.c @@ -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 * Copyright (c) 2010 Ingo Schwarze @@ -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; -- cgit v1.2.3-56-ge451