From c2ddd28ff0cdbaa93c56cc136f00bc11155eacd7 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 20 Mar 2005 01:42:15 +0000 Subject: [PATCH] elimtrivial rightedge!=leftedge and initialise pass - but still broken --- layout/redactgraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/redactgraph.c b/layout/redactgraph.c index a7945bb..e2ecc61 100644 --- a/layout/redactgraph.c +++ b/layout/redactgraph.c @@ -113,7 +113,7 @@ static void node_surely_orphaned(Node *node) { /*---------- operations ----------*/ static void extendsplits(void) { - int pass, rightside, n; + int pass=0, rightside, n; Node *node; EdgeEnd *leftedge, *rightedge; @@ -205,7 +205,7 @@ static void elimtrivial(void) { continue; } leftedge= node->sides[0].head; - rightedge= node->sides[0].head; + rightedge= node->sides[1].head; if (leftedge->edge->subseg != rightedge->edge->subseg) { trace("no, (sub)segments differ\n"); continue; -- 2.30.2