small typo in DdCreateSurface
authorMagnus Olsen <magnus@greatlord.com>
Fri, 16 Mar 2007 17:04:53 +0000 (17:04 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Fri, 16 Mar 2007 17:04:53 +0000 (17:04 +0000)
svn path=/trunk/; revision=26118

reactos/dll/win32/gdi32/misc/gdientry.c

index 7471470..3471d86 100644 (file)
@@ -271,7 +271,7 @@ DdCreateSurface(LPDDHAL_CREATESURFACEDATA pCreateSurface)
 
             ptmpDdSurfaceGlobal->wWidth = gpl->wWidth;
             ptmpDdSurfaceGlobal->wHeight = gpl->wHeight;
-            ptmpDdSurfaceGlobal->lPitch = gpl->fpVidMem;
+            ptmpDdSurfaceGlobal->lPitch = gpl->lPitch;
             ptmpDdSurfaceGlobal->fpVidMem = gpl->fpVidMem;
             ptmpDdSurfaceGlobal->dwBlockSizeX = gpl->dwBlockSizeX;
             ptmpDdSurfaceGlobal->dwBlockSizeY = gpl->dwBlockSizeY;