In function TT_Load_Metrics, fix improper an improper pointer dereference.

Submitted by herbert duerr <duerr@sun.com>
VER-2-0-4-PATCH
Tom Kacvinsky 24 years ago
parent e2abb1aa39
commit 574ed1bc97
  1. 2
      src/sfnt/ttload.c

@ -751,7 +751,7 @@
/* fonts usually only, nothing serious will happen */
if ( num_shorts > num_shorts_checked && num_shorts_checked > 0 )
{
FT_Short val = *(shorts)[num_shorts_checked - 1];
FT_Short val = (*shorts)[num_shorts_checked - 1];
limit = *shorts + num_shorts;

Loading…
Cancel
Save