From 805d9d0789c3c9a72abf12354d1d802649f9d39b Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Sun, 18 Jul 2021 13:36:06 -0500 Subject: [PATCH] just return --- src/pixie/paths.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index 16f404c..688ce1e 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -1919,8 +1919,7 @@ proc overlaps( for i in 0 ..< hits.len: # For gc:arc let (at, winding) = hits[i] if at > test.x: - result = shouldFill(windingRule, count) - break + return shouldFill(windingRule, count) count += winding proc fillOverlaps*(