Commit c888a2eb authored by Alexandre Julliard's avatar Alexandre Julliard

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

Spotted by Yann Droneaud.
parent d5a54642
......@@ -411,8 +411,8 @@ START_TEST ( scroll )
WS_OVERLAPPEDWINDOW|WS_VSCROLL|WS_HSCROLL,
CW_USEDEFAULT, CW_USEDEFAULT, 100, 100, 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;
assert( hScroll );
......
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