Commit 04374ab6 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent 39c4aa11
......@@ -1063,6 +1063,7 @@ START_TEST( editor )
{
MSG msg;
time_t end;
BOOL ret;
/* Must explicitly LoadLibrary(). The test has no references to functions in
* RICHED32.DLL, so the linker doesn't actually link to it. */
......@@ -1101,5 +1102,6 @@ START_TEST( editor )
}
OleFlushClipboard();
ok(FreeLibrary(hmoduleRichEdit) != 0, "error: %d\n", (int) GetLastError());
ret = FreeLibrary(hmoduleRichEdit);
ok(ret, "error: %u\n", GetLastError());
}
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