shell32/tests: Fix broken check of the ok() macro return value.

Spotted by Yann Droneaud.
This commit is contained in:
Alexandre Julliard 2010-02-24 16:04:05 +01:00
parent d279227538
commit d5a54642f4

View File

@ -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)