[PATCH 2/2] user32/listbox: Optimize SetCount partly
Huw Davies
huw at codeweavers.com
Wed Sep 19 05:55:46 CDT 2018
On Wed, Sep 19, 2018 at 01:52:37PM +0300, Gabriel Ivăncescu wrote:
> On Wed, Sep 19, 2018 at 10:46 AM, Huw Davies <huw at codeweavers.com> wrote:
> >
> > Shouldn't this be if (num == 0) ? That would at least match the comment.
> >
> > Huw.
>
> Yeah, you are right. I copied the relevant logic from InsertItem, but
> num == 0 definitely makes more sense.
I'm also concerned that we won't get WM_MEASUREITEMs in the
LBS_OWNERDRAWVARIABLE case.
Huw.
More information about the wine-devel
mailing list