Compilation fix.

* src/truetype/ttinterp.c (TT_RunIns)
[!TT_CONFIG_OPTION_SUBPIXEL_HINTING]: Make it work.
This commit is contained in:
Behdad Esfahbod 2013-05-23 08:01:20 +02:00 committed by Werner Lemberg
parent 3c783c1b70
commit 2d6e1fbce7
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2013-05-23 Behdad Esfahbod <behdad@behdad.org>
Compilation fix.
* src/truetype/ttinterp.c (TT_RunIns)
[!TT_CONFIG_OPTION_SUBPIXEL_HINTING]: Make it work.
2013-05-22 Infinality <infinality@infinality.net>
[truetype] Formatting and an additional subpixel tweak.

View File

@ -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 */