Commit 27f80dab authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi32/tests: Compare RECTs with EqualRect instead of memcmp.

parent 134bf22b
......@@ -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++;
}
......
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