From 7fdc010d9e71a0c39d3f63d421d1bef762b6a034 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 24 Jun 2021 20:54:40 +0400 Subject: [PATCH] Fix check --- src/vector/freetype/v_ft_raster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/freetype/v_ft_raster.cpp b/src/vector/freetype/v_ft_raster.cpp index 333e219..2fd2259 100644 --- a/src/vector/freetype/v_ft_raster.cpp +++ b/src/vector/freetype/v_ft_raster.cpp @@ -840,11 +840,11 @@ static void gray_render_cubic(RAS_ARG_ const SW_FT_Vector* control1, } Split: + if (arc + 7 > ras.bez_stack + 32 * 3 + 1) return; + gray_split_cubic(arc); arc += 3; - if (arc + 4 > ras.bez_stack + 32 * 3 + 1) return; - continue; Draw: