Commit 2432b0f6 authored by Alexandre Julliard's avatar Alexandre Julliard

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

Spotted by Yann Droneaud.
parent c888a2eb
......@@ -1060,8 +1060,8 @@ START_TEST(treeview)
hMainWnd = CreateWindowExA(0, "MyTestWnd", "Blah", WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, 130, 105, NULL, NULL, GetModuleHandleA(NULL), 0);
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;
test_fillroot();
test_select();
......
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