* src/truetype/ttinterp.c (TT_RunIns): Fix bytecode stack tracing.

The used indices were off by 1.
2.6.5
Werner Lemberg 9 years ago
parent 8b76eaf092
commit 837ad9d411
  1. 6
      ChangeLog
  2. 2
      src/truetype/ttinterp.c

@ -1,3 +1,9 @@
2015-10-15 Werner Lemberg <wl@gnu.org>
* src/truetype/ttinterp.c (TT_RunIns): Fix bytecode stack tracing.
The used indices were off by 1.
2015-10-15 Bungeman <bungeman@gmail.com>
Werner Lemberg <wl@gnu.org>

@ -7565,7 +7565,7 @@
? 2
: 12 - ( *opcode_name[exc->opcode] - '0' ),
"#" ));
for ( n = 0; n < cnt; n++ )
for ( n = 1; n <= cnt; n++ )
FT_TRACE7(( " %d", exc->stack[exc->top - n] ));
FT_TRACE6(( "\n" ));
}

Loading…
Cancel
Save