Module: wine Branch: refs/heads/master Commit: 379460f6daa1573534039c4f5f9fa37fd590f3be URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=379460f6daa1573534039c4f...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Sat May 6 18:50:16 2006 +0200
shell32: Don't use uninitialized item.mask in shlview.
---
dlls/shell32/shlview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index 46a1168..bb07108 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -1510,7 +1510,7 @@ #endif 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 */