* src/truetype/ttinterp.c (Update_Max): Set current size of buffer

correctly (so that memory debug system won't panic).
This commit is contained in:
Wu, Chia-I (吳佳一) 2005-12-17 13:12:49 +00:00
parent dcb8b7103f
commit ce34d122ba
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-17 Chia-I Wu <b90201047@ntu.edu.tw>
* src/truetype/ttinterp.c (Update_Max): Set current size of buffer
correctly (so that memory debug system won't panic).
2005-12-16 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics),

View File

@ -519,7 +519,7 @@
if ( *size < new_max )
{
if ( FT_REALLOC( *buff, *size, new_max * multiplier ) )
if ( FT_REALLOC( *buff, *size * multiplier, new_max * multiplier ) )
return error;
*size = new_max;
}