[5/7] oleaut32/tests: Fix typelib tests compilation with __WINESRC__ defined

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 23 21:44:41 CDT 2013


André Hentschel <nerv at dawncrow.de> wrote:


> -        ok(lstrcmp(value, buf) == 0, #expr " expected \"%s\" got \"%s\"\n", value, buf); \
> +        ok(lstrcmpA(value, buf) == 0, #expr " expected \"%s\" got \"%s\"\n", value, buf); \

Using simple strcmp() should be preferrable, leaving lstr* versions only
for cases when an exception handler is really needed.

P.S.
Fixing compilation with __WINESRC__ defined gives an opportunity for
reviewing the code, this should not be a simple search and replace job.

-- 
Dmitry.



More information about the wine-devel mailing list