Fixed small ==, != mixup.

This commit is contained in:
Francis Beaudet 1999-04-01 10:11:23 +00:00 committed by Alexandre Julliard
parent 5591bc6323
commit 64307f3cea
1 changed files with 1 additions and 1 deletions

View File

@ -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);