Second Listview status update

Rein Klazes rklazes at xs4all.nl
Mon Oct 21 13:02:13 CDT 2002


On Fri, 18 Oct 2002 09:33:14 -0400, you wrote:

> On October 18, 2002 03:35 am, Rein Klazes wrote:
> > It does. 
> 
> Finally! I had nightmares about it... :)
> 
> > Now it crashes again like it did after the change in rev. 210
> 
> You mean that 209 worked fine, and 210 crashes?!?
> That was supposed to be a noop change... I looked at it again,
> and there's not much to it.
> 
> Listen, I need your help to fix it, as I'm running out of time.
> Can you take 209, and then apply bits of the changes until you
> find which one does it? If you don't know how to do that, let
> me know, and I'll try to come up with some patches.

This makes r210 work again:

| --- listview.210.c	2002-10-19 09:59:20.000000000 +0200
| +++ listview.c	2002-10-21 19:54:28.000000000 +0200
| @@ -3102,7 +3102,7 @@
|      TRACE("(hdc=%x, nItem=%d)\n", hdc, nItem);
|  
|      /* get information needed for drawing the item */
| -    lvItem.mask = LVIF_TEXT | LVIF_IMAGE | LVIF_STATE | LVIF_INDENT;
| +    lvItem.mask = LVIF_TEXT | LVIF_IMAGE | LVIF_STATE | LVIF_INDENT | LVIF_PARAM;
|      lvItem.stateMask = LVIS_SELECTED | LVIS_FOCUSED | LVIS_STATEIMAGEMASK;
|      lvItem.iItem = nItem;
|      lvItem.iSubItem = 0;

Which must be done on one or two places more I think.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl



More information about the wine-devel mailing list