summaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-23 12:42:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-23 12:42:22 +0000
commit6adf409de7c4eda9b16c15d90820919fcd5150c2 (patch)
tree08bad15d230798bc76393f462b61e09c6e399597 /term.h
parent27be359286baae838840a62e6c36dac6b91cd810 (diff)
downloadmandoc-6adf409de7c4eda9b16c15d90820919fcd5150c2.tar.gz
mandoc-6adf409de7c4eda9b16c15d90820919fcd5150c2.tar.zst
mandoc-6adf409de7c4eda9b16c15d90820919fcd5150c2.zip
Fixed two very subtle bugs in retaining overstep and maxrmargin widths between parse sequences.
Diffstat (limited to 'term.h')
-rw-r--r--term.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.h b/term.h
index 134c83de..4a1ed902 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.51 2009/11/12 05:50:13 kristaps Exp $ */
+/* $Id: term.h,v 1.52 2010/03/23 12:42:22 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -35,6 +35,7 @@ struct termp {
size_t maxcols; /* Max size of buf. */
size_t offset; /* Margin offest. */
size_t col; /* Bytes in buf. */
+ int overstep; /* See termp_flushln(). */
int flags;
#define TERMP_NOSPACE (1 << 2) /* No space before words. */
#define TERMP_NOLPAD (1 << 3) /* See term_flushln(). */