diff --git a/ChangeLog b/ChangeLog index bbbb17008..04b98b120 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-05-23 Behdad Esfahbod + + Compilation fix. + + * src/truetype/ttinterp.c (TT_RunIns) + [!TT_CONFIG_OPTION_SUBPIXEL_HINTING]: Make it work. + 2013-05-22 Infinality [truetype] Formatting and an additional subpixel tweak. diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 7d32e8374..47ceca1ef 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -8134,7 +8134,8 @@ FT_EXPORT_DEF( FT_Error ) TT_RunIns( TT_ExecContext exc ) { - FT_Long ins_counter = 0; /* executed instructions counter */ + FT_Long ins_counter = 0; /* executed instructions counter */ + FT_UShort i; #ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING FT_Byte opcode_pattern[1][2] = { @@ -8147,7 +8148,6 @@ FT_UShort opcode_patterns = 1; FT_UShort opcode_pointer[1] = { 0 }; FT_UShort opcode_size[1] = { 1 }; - FT_UShort i; #endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */