summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
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 15d3821c7..c5336955c 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))
{