diff options
author | 2009-07-14 15:49:44 +0000 | |
---|---|---|
committer | 2009-07-14 15:49:44 +0000 | |
commit | 7e0543c95bf3c9f63403ac41fc18d0c109b9d9c1 (patch) | |
tree | 30188d80011c98e56a4b5b5dae52969299be4328 /term.c | |
parent | 36612897332d39fea86a5e0ec1013a54aed57a32 (diff) | |
download | mandoc-7e0543c95bf3c9f63403ac41fc18d0c109b9d9c1.tar.gz mandoc-7e0543c95bf3c9f63403ac41fc18d0c109b9d9c1.tar.zst mandoc-7e0543c95bf3c9f63403ac41fc18d0c109b9d9c1.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <kristaps@kth.se> * @@ -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; } |