summaryrefslogtreecommitdiffstats
path: root/term_ps.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-09-27 23:03:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-09-27 23:03:44 +0000
commit605947a26498b333ec8366a8567d08cd999dc5d9 (patch)
tree8dbfcc0c59693264d7b9ed77ee9e90cd88c2ee69 /term_ps.c
parent769e83f0d5d5a1e497dde635834dc228cfa2936c (diff)
downloadmandoc-605947a26498b333ec8366a8567d08cd999dc5d9.tar.gz
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@
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term_ps.c b/term_ps.c
index dde4d95e..68fd15f2 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -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;