mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 07:30:37 +00:00
comctl32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
This commit is contained in:
parent
c888a2eb22
commit
2432b0f6b9
@ -1060,8 +1060,8 @@ START_TEST(treeview)
|
|||||||
hMainWnd = CreateWindowExA(0, "MyTestWnd", "Blah", WS_OVERLAPPEDWINDOW,
|
hMainWnd = CreateWindowExA(0, "MyTestWnd", "Blah", WS_OVERLAPPEDWINDOW,
|
||||||
CW_USEDEFAULT, CW_USEDEFAULT, 130, 105, NULL, NULL, GetModuleHandleA(NULL), 0);
|
CW_USEDEFAULT, CW_USEDEFAULT, 130, 105, NULL, NULL, GetModuleHandleA(NULL), 0);
|
||||||
|
|
||||||
if ( !ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n") )
|
ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n");
|
||||||
return;
|
if (!hMainWnd) return;
|
||||||
|
|
||||||
test_fillroot();
|
test_fillroot();
|
||||||
test_select();
|
test_select();
|
||||||
|
Loading…
Reference in New Issue
Block a user