mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 15:19:37 +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))
|
switch(LOWORD(wParam))
|
||||||
{
|
{
|
||||||
case IDC_SHORTCUT_BROWSE:
|
case IDC_SHORTCUT_BROWSE:
|
||||||
|
ZeroMemory(&brws, sizeof(brws));
|
||||||
brws.hwndOwner = hwndDlg;
|
brws.hwndOwner = hwndDlg;
|
||||||
brws.pidlRoot = NULL;
|
brws.pidlRoot = NULL;
|
||||||
brws.pszDisplayName = szPath;
|
brws.pszDisplayName = szPath;
|
||||||
|
|
Loading…
Reference in a new issue