X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/91ab27befd54e154790aa66b308e8be09659b580..ef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552:/eqn.c 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 * @@ -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); }