summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-04 18:59:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-04 18:59:45 +0000
commite8b6c8a8ee532ff2305958026287532e9746a3f0 (patch)
tree12795bfeed0ec4cda65fb34d6efed3aca6ffdaac
parent8f9b15dd975dad4bc924d043c2869fa1edfaa1b0 (diff)
downloadmandoc-e8b6c8a8ee532ff2305958026287532e9746a3f0.tar.gz
fix column numbers of macro arguments in messages
-rw-r--r--mdoc_argv.c4
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;