"Hans Leidekker" <[EMAIL PROTECTED]> wrote:

> +static const int size_of_wchar = sizeof(WCHAR);
> +
...
> -    ok(!memcmp(bufW, stringW, 5 * sizeof(WCHAR)), "bufW/stringW mismatch\n");
> +    ok(!memcmp(bufW, stringW, 5 * size_of_wchar), "bufW/stringW mismatch\n");


> - if (GetLastError()==NTE_BAD_KEYSET)
> + LONG gle = GetLastError();
> + if (gle==NTE_BAD_KEYSET)

This is ugly. This kind of "fixes" clutters Wine code and should be
deprecated.

-- 
Dmitry.


Reply via email to