=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.92 retrieving revision 1.94 diff -u -p -r1.92 -r1.94 --- mandoc/term.h 2012/05/31 22:29:13 1.92 +++ mandoc/term.h 2013/08/21 21:20:40 1.94 @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.92 2012/05/31 22:29:13 schwarze Exp $ */ +/* $Id: term.h,v 1.94 2013/08/21 21:20:40 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -37,6 +37,7 @@ enum termfont { TERMFONT_NONE = 0, TERMFONT_BOLD, TERMFONT_UNDER, + TERMFONT_BI, TERMFONT__MAX }; @@ -57,10 +58,10 @@ struct termp { size_t defrmargin; /* Right margin of the device. */ size_t rmargin; /* Current right margin. */ size_t maxrmargin; /* Max right margin. */ - int maxcols; /* Max size of buf. */ + size_t maxcols; /* Max size of buf. */ size_t offset; /* Margin offest. */ size_t tabwidth; /* Distance of tab positions. */ - int col; /* Bytes in buf. */ + size_t col; /* Bytes in buf. */ size_t viscol; /* Chars on current line. */ int overstep; /* See termp_flushln(). */ int skipvsp; /* Vertical space to skip. */