fix size error introduced in commit 99b14815a5

This commit is contained in:
Jean-Louis Dupond 2015-03-15 11:50:10 +01:00
parent 598c07d4a8
commit 8a0fe0861d

View File

@ -2624,7 +2624,7 @@ BOOL update_read_create_offscreen_bitmap_order(wStream* s, CREATE_OFFSCREEN_BITM
{
UINT16 *new_indices;
new_indices = (UINT16 *)realloc(deleteList->indices, deleteList->cIndices);
new_indices = (UINT16 *)realloc(deleteList->indices, deleteList->sIndices * 2);
if (!new_indices)
return FALSE;