mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[BROWSEUI] Fix return value on sanity check of auto-completion (#3544)
Reduce failures on sanity check of auto-completion. CORE-9281 - Return E_FAIL rather than E_INVALIDARG in sanity check of CAutoComplete::Init (IAutoComplete::Init).
This commit is contained in:
committed by
GitHub
parent
f49c164428
commit
53005587f4
@@ -1133,7 +1133,7 @@ CAutoComplete::Init(HWND hwndEdit, IUnknown *punkACL,
|
||||
if (m_hwndEdit || !punkACL)
|
||||
{
|
||||
ATLASSERT(0);
|
||||
return E_INVALIDARG;
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
// set this pointer to m_hwndEdit
|
||||
|
||||
Reference in New Issue
Block a user