Dmitry Timoshkov : kernel32: Fix a typo in the LoadLibrary return value testing.
Alexandre Julliard
julliard at winehq.org
Mon Oct 3 17:21:23 CDT 2011
Module: wine
Branch: master
Commit: 25ae02b4ed9dc0c46b2a16ce2c5e286482f5b42a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25ae02b4ed9dc0c46b2a16ce2c5e286482f5b42a
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Fri Sep 30 20:06:02 2011 +0900
kernel32: Fix a typo in the LoadLibrary return value testing.
---
dlls/kernel32/tests/loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/loader.c b/dlls/kernel32/tests/loader.c
index ce59843..c740d77 100644
--- a/dlls/kernel32/tests/loader.c
+++ b/dlls/kernel32/tests/loader.c
@@ -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),
More information about the wine-cvs
mailing list