mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +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
1 changed files with 2 additions and 3 deletions
|
@ -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 a new issue