forked from minhngoc25a/freetype2
Minor formatting.
This commit is contained in:
parent
0607e0e959
commit
de27955c2a
|
@ -2215,7 +2215,8 @@
|
||||||
if ( FT_QALLOC( sfnt_data, rlen ) )
|
if ( FT_QALLOC( sfnt_data, rlen ) )
|
||||||
return error;
|
return error;
|
||||||
error = FT_Stream_Read( stream, (FT_Byte *)sfnt_data, (FT_ULong)rlen );
|
error = FT_Stream_Read( stream, (FT_Byte *)sfnt_data, (FT_ULong)rlen );
|
||||||
if ( error ) {
|
if ( error )
|
||||||
|
{
|
||||||
FT_FREE( sfnt_data );
|
FT_FREE( sfnt_data );
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1160,7 +1160,8 @@
|
||||||
outerIndex,
|
outerIndex,
|
||||||
innerIndex );
|
innerIndex );
|
||||||
|
|
||||||
if ( delta ) {
|
if ( delta )
|
||||||
|
{
|
||||||
FT_TRACE5(( "%s value %d adjusted by %d unit%s (%s)\n",
|
FT_TRACE5(( "%s value %d adjusted by %d unit%s (%s)\n",
|
||||||
vertical ? "vertical height" : "horizontal width",
|
vertical ? "vertical height" : "horizontal width",
|
||||||
*avalue,
|
*avalue,
|
||||||
|
|
|
@ -8570,7 +8570,8 @@
|
||||||
|
|
||||||
/* increment instruction counter and check if we didn't */
|
/* increment instruction counter and check if we didn't */
|
||||||
/* run this program for too long (e.g. infinite loops). */
|
/* run this program for too long (e.g. infinite loops). */
|
||||||
if ( ++ins_counter > TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES ) {
|
if ( ++ins_counter > TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES )
|
||||||
|
{
|
||||||
exc->error = FT_THROW( Execution_Too_Long );
|
exc->error = FT_THROW( Execution_Too_Long );
|
||||||
goto LErrorLabel_;
|
goto LErrorLabel_;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue