shell32: Don't use uninitialized item.mask in shlview.
This commit is contained in:
parent
645134397b
commit
379460f6da
|
@ -1510,7 +1510,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
||||||
item_index = ListView_GetNextItem(This->hWndList,
|
item_index = ListView_GetNextItem(This->hWndList,
|
||||||
item_index, LVNI_SELECTED);
|
item_index, LVNI_SELECTED);
|
||||||
item.iItem = item_index;
|
item.iItem = item_index;
|
||||||
item.mask |= LVIF_PARAM;
|
item.mask = LVIF_PARAM;
|
||||||
SendMessageA(This->hWndList, LVM_GETITEMA, 0, (LPARAM) &item);
|
SendMessageA(This->hWndList, LVM_GETITEMA, 0, (LPARAM) &item);
|
||||||
|
|
||||||
/* get item pidl */
|
/* get item pidl */
|
||||||
|
|
Loading…
Reference in New Issue