From e1ef69f23afc220b15d52f750f865cedf7cacc5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 4 May 2013 03:13:57 -0700 Subject: [PATCH] Fix accidental variable leakage. --- src/path/PathItem.Boolean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index 9a4b75a4..96573a69 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -139,7 +139,7 @@ PathItem.inject(new function() { midPoint = segment.getCurve().getPoint(0.5), insidePath1 = path !== _path1 && _path1.contains(midPoint) && (clockwise === path1Clockwise || subtract - || !testOnCurve(_path1, midPoint)); + || !testOnCurve(_path1, midPoint)), insidePath2 = path !== _path2 && _path2.contains(midPoint) && (clockwise === path2Clockwise || !testOnCurve(_path2, midPoint));