On Sat, 21 Sep 2002 19:53:56 +0200, you wrote: > On Sat, 21 Sep 2002 11:12:52 -0400, you wrote: > > > > + ZeroMemory(&item, sizeof(item)); > > > > We shouldn't need these. In fact, they just hide bugs, and most > > of them are superfluous anyways. The first hunk is a good find > > though, I've integrated it in my patch. > > > > Alexandre, please use this one instead. > > Which is fine with me (it works too).
Too early conclusion. At least this one is still needed or not fixed correctly. Rein. -- Rein Klazes [EMAIL PROTECTED]
--- listview.c.org 2002-09-21 17:20:11.000000000 +0200 +++ listview.c 2002-09-22 16:06:23.000000000 +0200 @@ -4210,6 +4210,7 @@ if ((nItem >= -1) && (lpFindInfo != NULL)) { + ZeroMemory(&lvItem,sizeof(lvItem)); if (lpFindInfo->flags & LVFI_PARAM) { lvItem.mask |= LVIF_PARAM;