Skip to content

Commit

Permalink
Minor code optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Jul 27, 2016
1 parent 17cca29 commit f4f4b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/path/PathItem.Boolean.js
Expand Up @@ -694,11 +694,11 @@ PathItem.inject(new function() {
// to which we may switch might be, so check that.
|| nextInter && isValid(nextInter._segment)))
))
return inter;
break;
// If it's no match, continue with the next linked intersection.
inter = inter._next;
}
return start;
return inter || start;
}

// Sort segments to give non-ambiguous segments the preference as
Expand Down

0 comments on commit f4f4b34

Please sign in to comment.