From 7e0543c95bf3c9f63403ac41fc18d0c109b9d9c1 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 14 Jul 2009 15:49:44 +0000 Subject: 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. --- term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 973ad2c2..9684cb3b 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.84 2009/07/14 15:16:41 kristaps Exp $ */ +/* $Id: term.c,v 1.85 2009/07/14 15:49:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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; } -- cgit v1.2.3