lib/leaflet/src/geometry/LineUtil.js in leaflet-js-0.6.beta4 vs lib/leaflet/src/geometry/LineUtil.js in leaflet-js-0.7.0

- old
+ new

@@ -115,11 +115,11 @@ // if a,b is outside the clip window (trivial reject) } else if (codeA & codeB) { return false; // other cases } else { - codeOut = codeA || codeB, - p = this._getEdgeIntersection(a, b, codeOut, bounds), + codeOut = codeA || codeB; + p = this._getEdgeIntersection(a, b, codeOut, bounds); newCode = this._getBitCode(p, bounds); if (codeOut === codeA) { a = p; codeA = newCode;