[PATCH] kernel32/tests: Remove redundant calls to SetLastError() in the locale tests.
Alexandre Julliard
julliard at winehq.org
Tue Aug 17 11:33:39 CDT 2021
Francois Gouget <fgouget at codeweavers.com> writes:
> STRINGSW() was useful when we did not have support for L"" strings.
> Now they could potentially both be removed in favor of plugging the
> format string straight into the relevant API and the expected string
> into some sort of 'expected' macro.
> That would leave the buffer initialisation and SetLastError() call to
> sprinkle in most places.
>
> Let me know if converting things that way would be preferred.
Removing the macros in favor of explicit calls would be better.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list