mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[SYSDM] IMGINFO: Fix 'iPLanes' typo (#2059)
This commit is contained in:
parent
fdc787c11d
commit
1f8dcf3c0e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue