Commit 1cdb06c6 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32: Remove unused parameter from _read_bitmap().

parent d585d422
...@@ -1899,7 +1899,7 @@ static int DIB_GetDIBImageBytes( int width, int height, int depth ) ...@@ -1899,7 +1899,7 @@ static int DIB_GetDIBImageBytes( int width, int height, int depth )
/* helper for ImageList_Read, see comments below */ /* helper for ImageList_Read, see comments below */
static BOOL _read_bitmap(HIMAGELIST himl, HDC hdcIml, LPSTREAM pstm) static BOOL _read_bitmap(HDC hdcIml, LPSTREAM pstm)
{ {
BITMAPFILEHEADER bmfh; BITMAPFILEHEADER bmfh;
int bitsperpixel, palspace; int bitsperpixel, palspace;
...@@ -2006,14 +2006,14 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm) ...@@ -2006,14 +2006,14 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm)
if (!himl) if (!himl)
return NULL; return NULL;
if (!_read_bitmap(himl, himl->hdcImage, pstm)) if (!_read_bitmap(himl->hdcImage, pstm))
{ {
WARN("failed to read bitmap from stream\n"); WARN("failed to read bitmap from stream\n");
return NULL; return NULL;
} }
if (ilHead.flags & ILC_MASK) if (ilHead.flags & ILC_MASK)
{ {
if (!_read_bitmap(himl, himl->hdcMask, pstm)) if (!_read_bitmap(himl->hdcMask, pstm))
{ {
WARN("failed to read mask bitmap from stream\n"); WARN("failed to read mask bitmap from stream\n");
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment