mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +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)
|
HRESULT STDMETHODCALLTYPE CACLCustomMRU::AddMRUString(LPCWSTR pwszEntry)
|
||||||
{
|
{
|
||||||
ATLASSERT(m_MRUData.GetSize() <= m_MRUList.GetLength());
|
|
||||||
|
|
||||||
if (m_bTypedURLs)
|
if (m_bTypedURLs)
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
||||||
|
ATLASSERT(m_MRUData.GetSize() <= m_MRUList.GetLength());
|
||||||
m_bDirty = true;
|
m_bDirty = true;
|
||||||
|
|
||||||
CStringW NewElement = pwszEntry;
|
CStringW NewElement = pwszEntry;
|
||||||
|
|
Loading…
Reference in a new issue