Commit 046bcb7c authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

dsound/tests: Don't test function directly when reporting GetLastError().

parent c7cb92f1
......@@ -1077,7 +1077,8 @@ START_TEST(dsound)
{
BOOL ret;
ok( FreeLibrary(hDsound), "FreeLibrary(1) returned %d\n", GetLastError());
ret = FreeLibrary(hDsound);
ok( ret, "FreeLibrary(1) returned %d\n", GetLastError());
SetLastError(0xdeadbeef);
ret = FreeLibrary(hDsound);
ok( ret ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment