Module: wine Branch: master Commit: 6407fb70363c64f80d262b03c7199753852b3fee URL: http://source.winehq.org/git/wine.git/?a=commit;h=6407fb70363c64f80d262b03c7...
Author: Juan Lang juan.lang@gmail.com Date: Thu Feb 12 09:23:40 2009 -0800
wintrust: Fix typo.
---
dlls/wintrust/tests/register.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wintrust/tests/register.c b/dlls/wintrust/tests/register.c index ccceb6c..8a6675c 100644 --- a/dlls/wintrust/tests/register.c +++ b/dlls/wintrust/tests/register.c @@ -291,7 +291,7 @@ static void test_RegPolicyFlags(void) size = sizeof(flags1); r = RegQueryValueExA(key, State, NULL, NULL, (LPBYTE)&flags1, &size); ok(!r || r == ERROR_FILE_NOT_FOUND, "RegQueryValueEx failed: %d\n", r); - if (r) + if (!r) ok(flags1 == flags2, "Got %08x flags instead of %08x\n", flags1, flags2);
flags3 = flags2 | 1;