From e04b459482027a3ac885a9e59f591616b594ddb6 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 7 Feb 2011 16:00:40 +0000 Subject: [PATCH] Fix the previous fix. --- lib/common/routespl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/routespl.c b/lib/common/routespl.c index d005abd99..09f9bdd27 100644 --- a/lib/common/routespl.c +++ b/lib/common/routespl.c @@ -236,8 +236,8 @@ simpleSplineRoute (pointf tp, pointf hp, Ppoly_t poly, int* n_spl_pts, eps[0].x = tp.x; eps[0].y = tp.y; - eps[1].x = tp.x; - eps[1].y = tp.y; + eps[1].x = hp.x; + eps[1].y = hp.y; if (Pshortestpath(&poly, eps, &pl) == -1) return NULL; -- 2.40.0