summaryrefslogtreecommitdiffstats
path: root/src/snapped-curve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/snapped-curve.cpp')
-rw-r--r--src/snapped-curve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snapped-curve.cpp b/src/snapped-curve.cpp
index 327de90bd..b566bfe34 100644
--- a/src/snapped-curve.cpp
+++ b/src/snapped-curve.cpp
@@ -121,8 +121,8 @@ bool getClosestIntersectionCS(std::list<Inkscape::SnappedCurve> const &list, Geo
bool const c1 = !success;
// or, if it's closer
bool const c2 = sp.getSnapDistance() < result.getSnapDistance();
- // or, if it's just then look at the other distance
- // (only relevant for snapped points which are at an intersection
+ // or, if it's just as close then look at the other distance
+ // (only relevant for snapped points which are at an intersection)
bool const c3 = (sp.getSnapDistance() == result.getSnapDistance()) && (sp.getSecondSnapDistance() < result.getSecondSnapDistance());
// then prefer this point over the previous one
if (c1 || c2 || c3) {