fixed a rather stupid bug in the last patch (one of those with

dire consequences..)
VER-2-0-4-PATCH
David Turner 25 years ago
parent 1ca6f2d136
commit 52b430abea
  1. 4
      src/cff/t2gload.c

@ -476,7 +476,7 @@
{
builder->path_begun = 1;
error = add_contour( builder );
if ( !error )
if ( error )
return error;
}
return add_point1( builder, x, y );
@ -609,7 +609,7 @@
{
if ( ip + 1 >= limit )
goto Syntax_Error;
val = (FT_Int32)( ( (FT_Short)ip[0] << 8 ) | ip[1] );
val = (FT_Short)( ( (FT_Short)ip[0] << 8 ) | ip[1] );
ip += 2;
}
else if ( v < 247 )

Loading…
Cancel
Save