summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-04 20:58:07 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-04 20:58:07 +0000
commitaac50b61c17409d48726e226f9530b894b3ad94e (patch)
tree876890edd5245cd966ff23aeba58b89cfa21132e /src/sp-offset.cpp
parentupdate to trunk (diff)
parentTranslation. Danish translation update. (diff)
downloadinkscape-aac50b61c17409d48726e226f9530b894b3ad94e.tar.gz
inkscape-aac50b61c17409d48726e226f9530b894b3ad94e.zip
update to trunk
(bzr r13645.1.99)
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 e8aa09952..7c3d0bd03 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -890,7 +890,7 @@ sp_offset_distance_to_original (SPOffset * offset, Geom::Point px)
if (ab > 0 && ab < len * len)
{
// we're in the zone of influence of the segment
- double ndist = (cross(pxsx,nx)) / len;
+ double ndist = (cross(nx, pxsx)) / len;
if (arSet == false || fabs (ndist) < fabs (arDist))
{