From cec71f84b2db92d6c5af4b2b28cbf294e2cc948f Mon Sep 17 00:00:00 2001 From: taw27 Date: Fri, 7 Sep 2007 22:32:23 +0000 Subject: Counting muppetry git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@126 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/reflections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflections.c b/src/reflections.c index ab626fa..1a80f71 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -36,8 +36,8 @@ static void reflection_addfirst(ReflectionContext *reflectionctx) { ReflectionContext *reflection_init() { ReflectionContext *reflectionctx = malloc(sizeof(ReflectionContext)); - reflection_addfirst(reflectionctx); reflectionctx->n_reflections = 0; + reflection_addfirst(reflectionctx); reflectionctx->list_capped = 0; return reflectionctx; -- cgit v1.2.3