https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a5950308fd0fafa0dc2e1…
commit a5950308fd0fafa0dc2e1a28ce7e40602c259ba4
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Apr 5 07:43:40 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Apr 5 07:43:40 2021 +0900
[BROWSEUI] Follow-up of #3582
Also fixes VK_HOME and VK_END. CORE-9281
---
dll/win32/browseui/CAutoComplete.cpp | 4 ----
dll/win32/browseui/aclhistory.cpp | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/dll/win32/browseui/CAutoComplete.cpp b/dll/win32/browseui/CAutoComplete.cpp
index d23b6d5cb78..df0291021f0 100644
--- a/dll/win32/browseui/CAutoComplete.cpp
+++ b/dll/win32/browseui/CAutoComplete.cpp
@@ -883,7 +883,6 @@ BOOL CAutoComplete::OnEditKeyDown(WPARAM wParam, LPARAM lParam)
UINT vk = (UINT)wParam; // virtual key
switch (vk)
{
- case VK_HOME: case VK_END:
case VK_UP: case VK_DOWN:
case VK_PRIOR: case VK_NEXT:
// is suggestion available?
@@ -1017,9 +1016,6 @@ BOOL CAutoComplete::OnListUpDown(UINT vk)
INT cItems = m_hwndList.GetItemCount(); // the number of items
switch (vk)
{
- case VK_HOME: case VK_END:
- m_hwndList.SendMessageW(WM_KEYDOWN, vk, 0);
- break;
case VK_UP:
if (iItem == -1)
iItem = cItems - 1;
diff --git a/dll/win32/browseui/aclhistory.cpp b/dll/win32/browseui/aclhistory.cpp
index 30412e023e8..683fdbaf8ed 100644
--- a/dll/win32/browseui/aclhistory.cpp
+++ b/dll/win32/browseui/aclhistory.cpp
@@ -27,7 +27,7 @@ STDMETHODIMP CACLHistory::Next(ULONG celt, LPOLESTR *rgelt, ULONG
*pceltFetched)
if (celt != 1)
return E_NOTIMPL;
// FIXME: *rgelt, *pceltFetched, return value
- return E_FAIL;
+ return S_FALSE;
}
STDMETHODIMP CACLHistory::Reset()