https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1f8dcf3c0ef287e265c7501a1d838887f5e4db6a
commit 1f8dcf3c0ef287e265c7501a1d838887f5e4db6a Author: Serge Gautherie <[email protected]> AuthorDate: Mon Nov 25 18:50:03 2019 +0100 Commit: Hermès BÉLUSCA - MAÏTO <[email protected]> CommitDate: Mon Nov 25 18:50:03 2019 +0100 [SYSDM] IMGINFO: Fix 'iPLanes' typo (#2059) --- dll/cpl/sysdm/general.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/cpl/sysdm/general.c b/dll/cpl/sysdm/general.c index 555db444d06..9c76df6ae83 100644 --- a/dll/cpl/sysdm/general.c +++ b/dll/cpl/sysdm/general.c @@ -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;
