mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[SHELL32] - CMenuBand: Don't accept a NULL shell folder in SetShellFolder. Should fix a test and possibly CORE-12300.
svn path=/trunk/; revision=73188
This commit is contained in:
@@ -672,6 +672,9 @@ HRESULT STDMETHODCALLTYPE CMenuBand::TranslateMenuMessage(MSG *pmsg, LRESULT *pl
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CMenuBand::SetShellFolder(IShellFolder *psf, LPCITEMIDLIST pidlFolder, HKEY hKey, DWORD dwFlags)
|
||||
{
|
||||
if (!psf)
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (m_SFToolbar == NULL)
|
||||
{
|
||||
m_SFToolbar = new CMenuSFToolbar(this);
|
||||
|
||||
Reference in New Issue
Block a user