Commit d5a54642 authored by Alexandre Julliard's avatar Alexandre Julliard

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

Spotted by Yann Droneaud.
parent d2792275
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment