mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Add check for null Wnd, see bug 3995.
svn path=/trunk/; revision=38517
This commit is contained in:
parent
33ff58086c
commit
140f031357
1 changed files with 1 additions and 1 deletions
|
@ -4562,7 +4562,7 @@ NtUserDefSetText(HWND hWnd, PUNICODE_STRING WindowText)
|
|||
|
||||
UserEnterExclusive();
|
||||
|
||||
if(!(Window = UserGetWindowObject(hWnd)))
|
||||
if(!(Window = UserGetWindowObject(hWnd)) || !Window->Wnd)
|
||||
{
|
||||
UserLeave();
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue