From ddb8c20e76ca162b2fbfbf7131f5b2a6ee36eea5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 27 Sep 2010 23:03:44 +0000 Subject: Merge from OpenBSD right after 1.10.6; now back to full sync. * mdoc.c: blank lines outside literal mode are more similar to .sp than .Pp * backslashes do not terminate macros; partial revert of mdoc.c 1.164; the intention of that commit is fully achieved in roff.c * mdoc_term.c: no need to list the same prototype twice * mdoc_validate.c: drop .Pp before .sp just like .Pp before .Pp * fix off-by-one found by jsg@ with parfait, OpenBSD term_ps.c 1.12 ok kristaps@ --- term_ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term_ps.c') diff --git a/term_ps.c b/term_ps.c index f3b77766..fa2f68fe 100644 --- a/term_ps.c +++ b/term_ps.c @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.44 2010/09/04 20:18:53 kristaps Exp $ */ +/* $Id: term_ps.c,v 1.45 2010/09/27 23:03:44 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -908,7 +908,7 @@ ps_pletter(struct termp *p, int c) f = (int)p->engine.ps.lastf; - if (c <= 32 || (c - 32 > MAXCHAR)) { + if (c <= 32 || (c - 32 >= MAXCHAR)) { ps_putchar(p, ' '); p->engine.ps.pscol += (size_t)fonts[f].gly[0].wx; return; -- cgit v1.2.3