Commit 64307f3c authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Fixed small ==, != mixup.

parent 5591bc63
......@@ -2120,7 +2120,7 @@ ImageList_SetImageCount (HIMAGELIST himl, INT iImageCount)
hbmNewBitmap = CreateBitmap (nNewCount * himl->cx, himl->cy,
1, himl->uBitsPixel, NULL);
if (hbmNewBitmap == 0)
if (hbmNewBitmap != 0)
{
SelectObject (hdcImageList, himl->hbmImage);
SelectObject (hdcBitmap, hbmNewBitmap);
......
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