user32/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:11 +01:00
parent d5a54642f4
commit c888a2eb22
1 changed files with 2 additions and 2 deletions

View File

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