* src/base/ftoutln.c (FT_Outline_Check): Update error code, clean up.

This commit is contained in:
Alexei Podtelezhnikov 2023-02-20 15:58:04 +00:00
parent bbfcd79eac
commit 713580f41d
1 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@
if ( n_points <= 0 || n_contours <= 0 )
goto Bad;
end0 = end = -1;
end0 = -1;
for ( n = 0; n < n_contours; n++ )
{
end = outline->contours[n];
@ -388,7 +388,7 @@
}
Bad:
return FT_THROW( Invalid_Argument );
return FT_THROW( Invalid_Outline );
}