[PATCH 1/2] comctl32/listbox: Fix InitStorage heap extension

Gabriel Ivăncescu gabrielopcode at gmail.com
Wed Sep 19 09:24:10 CDT 2018


On Wed, Sep 19, 2018 at 5:06 PM, Huw Davies <huw at codeweavers.com> wrote:
>
> I dislike having the calculation split up like this.
>
> Further, I think we can insist that LB_ARRAY_GRANULARITY is a power of two,
> (perhaps add a comment to that effect above its #define) which should
> simplify things a bit.
>
> Huw.
>

Yeah, if it's a power of 2 I can use a bitwise AND operator to
simplify it. I'll do that and add a comment.



More information about the wine-devel mailing list