Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali committed Jun 24, 2021
1 parent c567dad commit 7fdc010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vector/freetype/v_ft_raster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7fdc010

Please sign in to comment.