Treeview fix

Jeff Smith whydoubt at hotmail.com
Wed Oct 23 09:25:45 CDT 2002


This patch did the trick.  Well I cannot test it at the moment, but
  as the value INT_MAX (0x7fffffff) was the issue, I know this will fix
  it.  The limit works a lot better (is a lot safer) than the 'special'
  value.

...
-    if (i == 0x7fff)
+    if (i >= 0x7fff)
        i = hdpa->nItemCount;
...

>From: "Dimitrie O. Paun" <dpaun at rogers.com>
>
>On October 23, 2002 01:29 am, Jeff Smith wrote:
> > Oops, your previous message got lost in the shuffle...
> > I'm sure anything is better than the little patch I wrote.
> > I was just taking a minimalist approach to get treeview working.
>
>No, your patch was quite good. Would have certainly fixed the treeview,
>but I think apps depend on the extended behavior. Does my patch fix
>the problems you were experiencing?
>
>--
>Dimi.


_________________________________________________________________
Broadband? Dial-up? Get reliable MSN Internet Access. 
http://resourcecenter.msn.com/access/plans/default.asp




More information about the wine-devel mailing list