comctl32/tests: Avoid using memset() on RECTs.

Nikolay Sivov bunglehead at gmail.com
Sat Jul 30 14:58:02 CDT 2016


On 30.07.2016 22:55, Michael Stefaniuc wrote:
> -    memset(&r1, 0, sizeof r1);
> -    r1.left = LVIR_ICON;
> +    SetRect(&r1, LVIR_ICON, 0, 0, 0);

I don't like this, I think it's better to use SetRect() when actual
coordinates are used, and LVIR_* has special meaning.



More information about the wine-devel mailing list