summaryrefslogtreecommitdiffstats
path: root/term.c
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
commitdc421841e876bb44d10487c5107d5c931123afa2 (patch)
treecc8c08ca12a11d1369e2be655f07c9d2112900e0 /term.c
parente2944aa4f55c6872ee2344ffbd51212c75cffebb (diff)
downloadmandoc-dc421841e876bb44d10487c5107d5c931123afa2.tar.gz
Fixed overstep patch.
Diffstat (limited to 'term.c')
-rw-r--r--term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.c b/term.c
index 6540eced..ccc6bf1e 100644
--- a/term.c
+++ b/term.c
@@ -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 */