mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[BROWSEUI] Fix CAutoComplete::OnMeasureItem assertion
CORE-17505
This commit is contained in:
parent
32a9b64051
commit
bcba930622
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue