shell32: Don't use uninitialized item.mask in shlview.

oldstable
Mikołaj Zalewski 2006-05-06 18:50:16 +02:00 committed by Alexandre Julliard
parent 645134397b
commit 379460f6da
1 changed files with 1 additions and 1 deletions

View File

@ -1510,7 +1510,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
item_index = ListView_GetNextItem(This->hWndList,
item_index, LVNI_SELECTED);
item.iItem = item_index;
item.mask |= LVIF_PARAM;
item.mask = LVIF_PARAM;
SendMessageA(This->hWndList, LVM_GETITEMA, 0, (LPARAM) &item);
/* get item pidl */