]> git.cameronkatri.com Git - mandoc.git/commitdiff
Fixed overstep patch.
authorKristaps Dzonsons <kristaps@bsd.lv>
Mon, 26 Oct 2009 07:18:23 +0000 (07:18 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Mon, 26 Oct 2009 07:18:23 +0000 (07:18 +0000)
term.c

diff --git a/term.c b/term.c
index c9a5fa529f2db79fb01818fc9c91d8fa87676e85..d4171aa3d7cc210141ec1c595afa9edb9e70d3c3 100644 (file)
--- 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 */