[SYSDM] IMGINFO: Fix 'iPLanes' typo (#2059)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Mon, 25 Nov 2019 17:50:03 +0000 (18:50 +0100)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Mon, 25 Nov 2019 17:50:03 +0000 (18:50 +0100)
dll/cpl/sysdm/general.c

index 555db44..9c76df6 100644 (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;