https://git.reactos.org/?p=reactos.git;a=commitdiff;h=14c18657bc9e70f8e9a741...
commit 14c18657bc9e70f8e9a74116c9d35a3e4b4b96e5 Author: Hirofumi Katayama katayama.hirofumi.mz@gmail.com AuthorDate: Mon Oct 5 08:49:42 2020 +0900 Commit: Hirofumi Katayama katayama.hirofumi.mz@gmail.com CommitDate: Mon Oct 5 08:49:42 2020 +0900
[BROWSEUI] Fix assertion in CACLCustomMRU::AddMRUString
CORE-9281 --- dll/win32/browseui/ACLCustomMRU.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dll/win32/browseui/ACLCustomMRU.cpp b/dll/win32/browseui/ACLCustomMRU.cpp index c142397e86f..83c8dfc55db 100644 --- a/dll/win32/browseui/ACLCustomMRU.cpp +++ b/dll/win32/browseui/ACLCustomMRU.cpp @@ -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;