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

dire consequences..)
This commit is contained in:
David Turner 2000-07-08 01:18:38 +00:00
parent 1ca6f2d136
commit 52b430abea

View File

@ -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 )