Commit 25ae02b4 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

kernel32: Fix a typo in the LoadLibrary return value testing.

parent 3ba00cf5
......@@ -662,7 +662,7 @@ static void test_section_access(void)
SetLastError(0xdeadbeef);
hlib = LoadLibrary(dll_name);
ok(ret, "LoadLibrary error %d\n", GetLastError());
ok(hlib != 0, "LoadLibrary error %d\n", GetLastError());
size = VirtualQuery((char *)hlib + section.VirtualAddress, &info, sizeof(info));
ok(size == sizeof(info),
......
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