aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.c
diff options
context:
space:
mode:
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eqn.c b/eqn.c
index 64511a8b..3e668563 100644
--- a/eqn.c
+++ b/eqn.c
@@ -1,4 +1,4 @@
-/* $Id: eqn.c,v 1.1 2011/02/06 20:36:36 kristaps Exp $ */
+/* $Id: eqn.c,v 1.2 2011/02/09 09:05:52 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -59,8 +59,8 @@ eqn_alloc(int pos, int line)
struct eqn_node *p;
p = mandoc_calloc(1, sizeof(struct eqn_node));
- p->line = line;
- p->pos = pos;
+ p->eqn.line = line;
+ p->eqn.pos = pos;
return(p);
}