mirror of
https://github.com/reactos/reactos.git
synced 2024-09-04 01:29:31 +00:00
Don't call SHBrowseForFolder() with random pointers
svn path=/trunk/; revision=30020
This commit is contained in:
parent
01e884dc2d
commit
d624225717
|
@ -88,6 +88,7 @@ WelcomeDlgProc(HWND hwndDlg,
|
|||
switch(LOWORD(wParam))
|
||||
{
|
||||
case IDC_SHORTCUT_BROWSE:
|
||||
ZeroMemory(&brws, sizeof(brws));
|
||||
brws.hwndOwner = hwndDlg;
|
||||
brws.pidlRoot = NULL;
|
||||
brws.pszDisplayName = szPath;
|
||||
|
|
Loading…
Reference in a new issue