summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-14 15:49:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-14 15:49:44 +0000
commit367d592b85f82bddefeeedb9dcacf312e9e4ac87 (patch)
treebc9ffe5fc9854dad13f8dc6c54c34c525eef7954 /term.c
parent1aeffd06ef23e334ada54a5997652946127819de (diff)
downloadmandoc-367d592b85f82bddefeeedb9dcacf312e9e4ac87.tar.gz
Cleaned up arg_width and arg_column functions.
Added XXn and XXm support to -offset (not documented in mdoc.samples, but used in mdoc.samples!). Lint warnings fixed.
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index a9f92429..1835544c 100644
--- a/term.c
+++ b/term.c
@@ -315,7 +315,7 @@ term_flushln(struct termp *p)
putchar(' ');
}
if (TERMP_HANG & p->flags)
- sv = vis - maxvis;
+ sv = (int)(vis - maxvis);
p->col = 0;
return;
}