[SHELL32] CCopyToMenu/CMoveToMenu: Check if this_ is NULL

This commit is contained in:
Katayama Hirofumi MZ 2022-01-25 21:08:14 +09:00
parent 0360abb796
commit 2c4beeca8e
2 changed files with 6 additions and 0 deletions

View file

@ -101,6 +101,9 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
}
case BFFM_SELCHANGED:
{
if (!this_)
break;
WCHAR szPath[MAX_PATH];
LPCITEMIDLIST pidl = reinterpret_cast<LPCITEMIDLIST>(lParam);

View file

@ -100,6 +100,9 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
}
case BFFM_SELCHANGED:
{
if (!this_)
break;
WCHAR szPath[MAX_PATH];
LPCITEMIDLIST pidl = reinterpret_cast<LPCITEMIDLIST>(lParam);