diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:59:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:59:45 +0000 |
commit | e8b6c8a8ee532ff2305958026287532e9746a3f0 (patch) | |
tree | 12795bfeed0ec4cda65fb34d6efed3aca6ffdaac | |
parent | 8f9b15dd975dad4bc924d043c2869fa1edfaa1b0 (diff) | |
download | mandoc-e8b6c8a8ee532ff2305958026287532e9746a3f0.tar.gz |
fix column numbers of macro arguments in messages
-rw-r--r-- | mdoc_argv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 3e7fabd2..c3c92a03 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -1,4 +1,4 @@ -/* $OpenBSD$ */ +/* $Id$ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -339,7 +339,7 @@ mdoc_argv(struct mdoc *mdoc, int line, enum mdoct tok, /* Parse the arguments of the flag. */ tmpv.line = line; - tmpv.pos = ipos; + tmpv.pos = *pos; tmpv.sz = 0; tmpv.value = NULL; |