[ros-diffs] [jimtabor] 33721: Fix the rest too....
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Mon May 26 23:12:18 CEST 2008
Author: jimtabor
Date: Mon May 26 16:12:17 2008
New Revision: 33721
URL: http://svn.reactos.org/svn/reactos?rev=33721&view=rev
Log:
Fix the rest too....
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dc.c?rev=33721&r1=33720&r2=33721&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] Mon May 26 16:12:17 2008
@@ -842,7 +842,6 @@
hVisRgn = NtGdiCreateRectRgn(0, 0, ((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulHorzRes,
((PGDIDEVICE)NewDC->pPDev)->GDIInfo.ulVertRes);
IntGdiSelectVisRgn(hNewDC, hVisRgn);
- NtGdiDeleteObject(hVisRgn);
/* Initialize the DC state */
DC_InitDC(hNewDC);
@@ -1994,7 +1993,6 @@
hVisRgn = NtGdiCreateRectRgn(0, 0, pBmp->SurfObj.sizlBitmap.cx, pBmp->SurfObj.sizlBitmap.cy);
BITMAPOBJ_UnlockBitmap(pBmp);
IntGdiSelectVisRgn(hDC, hVisRgn);
- NtGdiDeleteObject(hVisRgn);
return hOrgBmp;
}
More information about the Ros-diffs
mailing list