Mike McCormack <mike(a)codeweavers.com> writes:
> @@ -2560,7 +2560,7 @@ ImageList_SetImageCount (HIMAGELIST himl
> {
> HDC hdcBitmap;
> HBITMAP hbmNewBitmap;
> - INT nNewCount, nCopyCount;
> + INT nCopyCount;
It seems to me the variable is needed to ensure that the bitmap and
count remain in sync if allocating the new bitmap fails.
--
Alexandre Julliard
julliard(a)winehq.org