mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 05:51:26 +08:00
[BROWSEUI] Fix CAutoComplete::OnMeasureItem assertion
CORE-17505
This commit is contained in:
@@ -1781,7 +1781,8 @@ LRESULT CAutoComplete::OnMeasureItem(UINT uMsg, WPARAM wParam, LPARAM lParam, BO
|
||||
ATLASSERT(pMeasure != NULL);
|
||||
if (pMeasure->CtlType != ODT_LISTVIEW)
|
||||
return FALSE;
|
||||
|
||||
if (!m_hwndList)
|
||||
return FALSE;
|
||||
ATLASSERT(m_hwndList.GetStyle() & LVS_OWNERDRAWFIXED);
|
||||
pMeasure->itemHeight = m_hwndList.m_cyItem; // height of item
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user