comctl32/listview: Don't use uninitialized value.
This commit is contained in:
parent
9eaf6a29fe
commit
c198338263
|
@ -6565,7 +6565,7 @@ static INT LISTVIEW_HitTest(const LISTVIEW_INFO *infoPtr, LPLVHITTESTINFO lpht,
|
|||
lvItem.stateMask = LVIS_STATEIMAGEMASK;
|
||||
if (uView == LVS_ICON) lvItem.stateMask |= LVIS_FOCUSED;
|
||||
lvItem.iItem = iItem;
|
||||
lvItem.iSubItem = lpht->iSubItem;
|
||||
lvItem.iSubItem = subitem ? lpht->iSubItem : 0;
|
||||
lvItem.pszText = szDispText;
|
||||
lvItem.cchTextMax = DISP_TEXT_SIZE;
|
||||
if (!LISTVIEW_GetItemW(infoPtr, &lvItem)) return -1;
|
||||
|
|
Loading…
Reference in New Issue