mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
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;
|
||||
|
||||
createMainWnd();
|
||||
|
||||
if(!ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n"))
|
||||
return;
|
||||
ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n");
|
||||
if (!hMainWnd) return;
|
||||
|
||||
ac = test_init();
|
||||
if (!ac)
|
||||
|
Loading…
Reference in New Issue
Block a user