shell32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
This commit is contained in:
parent
d279227538
commit
d5a54642f4
|
@ -126,9 +126,8 @@ START_TEST(autocomplete)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
createMainWnd();
|
createMainWnd();
|
||||||
|
ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n");
|
||||||
if(!ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n"))
|
if (!hMainWnd) return;
|
||||||
return;
|
|
||||||
|
|
||||||
ac = test_init();
|
ac = test_init();
|
||||||
if (!ac)
|
if (!ac)
|
||||||
|
|
Loading…
Reference in New Issue