mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
Why are we deleting prgnVis after setting it up? Wine code shows that it is deleted after an error if it was setup prior the error. This fixes a bug introduced in revision 5118.
svn path=/trunk/; revision=33719
This commit is contained in:
parent
2cb33838e4
commit
4204cdca6e
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*
|
||||
* ReactOS W32 Subsystem
|
||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
|
||||
|
@ -158,7 +157,6 @@ NtGdiCreateCompatibleDC(HDC hDC)
|
|||
|
||||
hVisRgn = NtGdiCreateRectRgn(0, 0, 1, 1);
|
||||
IntGdiSelectVisRgn(hNewDC, hVisRgn);
|
||||
NtGdiDeleteObject(hVisRgn);
|
||||
if (Layout) NtGdiSetLayout( hNewDC, -1, Layout);
|
||||
|
||||
DC_InitDC(hNewDC);
|
||||
|
|
Loading…
Reference in a new issue