From 26761f17a11d56b889bf8d0935a50f3d8bc756fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 3 Jan 2016 01:13:03 +0100 Subject: [PATCH] Some minor clean-ups for 55cf0bc1c7413fd583b2d6f8e088769c992ccb76. --- src/path/PathItem.Boolean.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index b952d280..c6b538c0 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -527,7 +527,7 @@ PathItem.inject(new function() { start, otherStart, operator = operators[operation], - // Adjust winding contributions for specific operations on overlaps: + // Adjust winding contributions for unite operation on overlaps: overlapWinding = operation === 'unite' && { 1: 2 }; function isValid(seg, adjusted) { @@ -543,7 +543,7 @@ PathItem.inject(new function() { } function isStart(seg) { - return seg && (seg === start || seg === otherStart); + return seg === start || seg === otherStart; } // If there are multiple possible intersections, find the one that's