mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:02:59 +00:00
fixed releasing window object
svn path=/trunk/; revision=6895
This commit is contained in:
parent
c5db293dcf
commit
62a63e2892
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*
|
*
|
||||||
* $Id: painting.c,v 1.41 2003/12/06 20:58:27 navaraf Exp $
|
* $Id: painting.c,v 1.42 2003/12/07 13:14:22 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -769,6 +769,7 @@ NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs)
|
||||||
|
|
||||||
if (!lPs->hdc)
|
if (!lPs->hdc)
|
||||||
{
|
{
|
||||||
|
IntReleaseWindowObject(Window);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue