Module: wine Branch: master Commit: cca319d5943ca01a564335473a9ac3ee949d342d URL: http://source.winehq.org/git/wine.git/?a=commit;h=cca319d5943ca01a564335473a...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 10 11:16:23 2011 +0100
comctl32/imagelist: Don't change destination size in ImageList_Duplicate without corresponding allocation.
---
dlls/comctl32/imagelist.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index 2e1581e..ed92a52 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -1521,7 +1521,6 @@ ImageList_Duplicate (HIMAGELIST himlSrc) himlSrc->hdcMask, 0, 0, SRCCOPY);
himlDst->cCurImage = himlSrc->cCurImage; - himlDst->cMaxImage = himlSrc->cMaxImage; if (himlSrc->has_alpha && himlDst->has_alpha) memcpy( himlDst->has_alpha, himlSrc->has_alpha, himlDst->cCurImage ); }