mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL.
This commit is contained in:
parent
5150b37a00
commit
0471483851
@ -391,7 +391,8 @@ static INT_PTR CALLBACK BrsFolderDlgProc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||
switch (wParam)
|
||||
{ case IDOK:
|
||||
pdump ( pidlRet );
|
||||
SHGetPathFromIDListW(pidlRet, lpBrowseInfo->pszDisplayName);
|
||||
if (lpBrowseInfo->pszDisplayName)
|
||||
SHGetPathFromIDListW(pidlRet, lpBrowseInfo->pszDisplayName);
|
||||
EndDialog(hWnd, (DWORD) ILClone(pidlRet));
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user