In function TT_Load_Metrics, fix improper an improper pointer dereference.
Submitted by herbert duerr <duerr@sun.com>
This commit is contained in:
parent
7e0e160d87
commit
4a1bc8fcf6
|
@ -751,7 +751,7 @@
|
||||||
/* fonts usually only, nothing serious will happen */
|
/* fonts usually only, nothing serious will happen */
|
||||||
if ( num_shorts > num_shorts_checked && num_shorts_checked > 0 )
|
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;
|
limit = *shorts + num_shorts;
|
||||||
|
|
Loading…
Reference in New Issue