[SYSDM] IMGINFO: Fix 'iPLanes' typo (#2059)

This commit is contained in:
Serge Gautherie 2019-11-25 18:50:03 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent fdc787c11d
commit 1f8dcf3c0e

View file

@ -24,7 +24,7 @@ typedef struct _IMGINFO
HBITMAP hBitmap;
INT cxSource;
INT cySource;
INT iPLanes;
INT iPlanes;
INT iBits;
} IMGINFO, *PIMGINFO;
@ -123,7 +123,7 @@ static VOID InitLogo(HWND hwndDlg)
pImgInfo->cxSource = logoBitmap.bmWidth;
pImgInfo->cySource = logoBitmap.bmHeight;
pImgInfo->iBits = logoBitmap.bmBitsPixel;
pImgInfo->iPLanes = logoBitmap.bmPlanes;
pImgInfo->iPlanes = logoBitmap.bmPlanes;
DeleteObject(hLogo);
DeleteObject(hMask);
@ -172,7 +172,7 @@ LRESULT CALLBACK RosImageProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
iDevsHeight = rcCredits.bottom - rcCredits.top;
hCreditsBitmap = CreateBitmap(pImgInfo->cxSource, (2 * pImgInfo->cySource) + iDevsHeight + 1, pImgInfo->iPLanes, pImgInfo->iBits, NULL);
hCreditsBitmap = CreateBitmap(pImgInfo->cxSource, (2 * pImgInfo->cySource) + iDevsHeight + 1, pImgInfo->iPlanes, pImgInfo->iBits, NULL);
if(!hCreditsBitmap)
break;