From 39f6c47bc6accd6d24065c91844e098ef446c655 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Thu, 16 Jun 2022 13:15:34 -0500 Subject: [PATCH] fix --- src/pixie/paths.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index e7c2fce..0c0b4c5 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -1555,7 +1555,7 @@ proc fillHits( image.unsafe[x, y] = blendNormal(backdrop, rgbx) of MaskBlend: - var prevFilledTo: int + var prevFilledTo = startX walkHits hits, numHits, windingRule, y, image.width: block: # Clear any gap between this fill and the previous fill let gapBetween = fillStart - prevFilledTo @@ -1599,7 +1599,7 @@ proc fillHits( fillUnsafe(mask.data, 255, mask.dataIndex(fillStart, y), fillLen) of MaskBlend: - var prevFilledTo: int + var prevFilledTo = startX walkHits hits, numHits, windingRule,y, mask.width: let gapBetween = fillStart - prevFilledTo if gapBetween > 0: