mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[BROWSEUI] Fix assertion in CACLCustomMRU::AddMRUString
CORE-9281
This commit is contained in:
parent
179da0b237
commit
14c18657bc
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue