summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 07:18:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 07:18:23 +0000
commit65f3d725ab6475bef0a83e1077c3ce2be3557598 (patch)
tree072589881ea6d1347b32ac033cd832367c42d567
parent71214b69722d5e7d403cbd9af32d74abf3ab0359 (diff)
downloadmandoc-65f3d725ab6475bef0a83e1077c3ce2be3557598.tar.gz
mandoc-65f3d725ab6475bef0a83e1077c3ce2be3557598.tar.zst
mandoc-65f3d725ab6475bef0a83e1077c3ce2be3557598.zip
Fixed overstep patch.
-rw-r--r--term.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/term.c b/term.c
index c9a5fa52..d4171aa3 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.110 2009/10/24 06:19:34 kristaps Exp $ */
+/* $Id: term.c,v 1.111 2009/10/26 07:18:23 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -222,14 +222,15 @@ term_flushln(struct termp *p)
}
vis += vsz;
}
+
p->col = 0;
+ overstep = 0;
if ( ! (TERMP_NOBREAK & p->flags)) {
putchar('\n');
return;
}
- overstep = 0;
if (TERMP_HANG & p->flags) {
/* We need one blank after the tag. */
overstep = /* LINTED */