mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdi32/tests: Compare RECTs with EqualRect instead of memcmp.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
134bf22b8c
commit
27f80dab77
1 changed files with 2 additions and 4 deletions
|
@ -1275,10 +1275,8 @@ static void compare_bounds( HDC hdc, const char *info )
|
|||
return;
|
||||
}
|
||||
|
||||
ok( !memcmp( current_bounds, &rect, sizeof(RECT) ),
|
||||
"%s: %s: expected bounds %d,%d,%d,%d got %d,%d,%d,%d\n", dst_format, info,
|
||||
current_bounds->left, current_bounds->top, current_bounds->right, current_bounds->bottom,
|
||||
rect.left, rect.top, rect.right, rect.bottom );
|
||||
ok( EqualRect( current_bounds, &rect ), "%s: %s: expected bounds %s got %s\n", dst_format, info,
|
||||
wine_dbgstr_rect( current_bounds ), wine_dbgstr_rect( &rect ));
|
||||
current_bounds++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue