mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 09:01:37 +00:00
[REGEDIT] Do not try to dereference a pointer when it is NULL. CORE-11915
svn path=/trunk/; revision=73377
This commit is contained in:
parent
b671384719
commit
3008f14a0d
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||
return DefWindowProcW(hWnd, message, wParam, lParam);
|
||||
break;
|
||||
case WM_ACTIVATE:
|
||||
if (LOWORD(hWnd))
|
||||
if (LOWORD(hWnd) && g_pChildWnd)
|
||||
SetFocus(g_pChildWnd->hWnd);
|
||||
break;
|
||||
case WM_SIZE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue