From: erg Date: Mon, 7 Feb 2011 16:00:40 +0000 (+0000) Subject: Fix the previous fix. X-Git-Tag: LAST_LIBGRAPH~32^2~1066 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e04b459482027a3ac885a9e59f591616b594ddb6;p=graphviz Fix the previous fix. --- 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;