summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-06-23 22:22:07 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-06-23 22:22:07 +0000
commitab143333746e25648b253f13c0539adff089b1b6 (patch)
tree5a025875e0e107b07b13970374afbd78cb021af7 /src/sp-offset.cpp
parentUpdate 2Geom to pull in integer rectangle class (diff)
downloadinkscape-ab143333746e25648b253f13c0539adff089b1b6.tar.gz
inkscape-ab143333746e25648b253f13c0539adff089b1b6.zip
Remove more of libnr
(bzr r10347.1.2)
Diffstat (limited to 'src/sp-offset.cpp')
-rw-r--r--src/sp-offset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index 460421492..0dd65c7b9 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -844,7 +844,7 @@ sp_offset_distance_to_original (SPOffset * offset, Geom::Point px)
{
// we have a new minimum distance
// now we need to wheck if px is inside or outside (for the sign)
- nx = px - to_2geom(theRes->getPoint(i).x);
+ nx = px - theRes->getPoint(i).x;
double nlen = sqrt (dot(nx , nx));
nx /= nlen;
int pb, cb, fb;