diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 8c4c034127..d3783c22d0 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -2330,7 +2330,7 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point) std::swap(x1,x2); } if (x1 >= 0.001*length && x2 <= 0.999*length) { - if (x1 < x0 && x2 > x0) { // trim a way a sement in the middle + if (x1 < x0 && x2 > x0) { // trim away a segment in the middle int newGeoId = addGeometry(geo); // go through all constraints and replace the point (GeoId,end) with (newGeoId,end) transferConstraints(GeoId, end, newGeoId, end);