mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[BROWSEUI] Fix assertion in CACLCustomMRU::AddMRUString
CORE-9281
This commit is contained in:
parent
179da0b237
commit
14c18657bc
@ -204,11 +204,10 @@ HRESULT CACLCustomMRU::LoadMRUList(DWORD dwMax)
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CACLCustomMRU::AddMRUString(LPCWSTR pwszEntry)
|
||||
{
|
||||
ATLASSERT(m_MRUData.GetSize() <= m_MRUList.GetLength());
|
||||
|
||||
if (m_bTypedURLs)
|
||||
return E_FAIL;
|
||||
|
||||
ATLASSERT(m_MRUData.GetSize() <= m_MRUList.GetLength());
|
||||
m_bDirty = true;
|
||||
|
||||
CStringW NewElement = pwszEntry;
|
||||
|
Loading…
Reference in New Issue
Block a user