* 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:
parent
dcb8b7103f
commit
ce34d122ba
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user