explorerframe/tests: Use SetRect() instead of open coding it.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-09 13:57:20 +02:00 committed by Alexandre Julliard
parent 15c55ff7bd
commit 6eb70eea1b
1 changed files with 2 additions and 2 deletions

View File

@ -862,7 +862,7 @@ static void test_basics(void)
process_msgs();
/* Initialize the control */
rc.top = rc.left = 0; rc.right = rc.bottom = 200;
SetRect(&rc, 0, 0, 200, 200);
hr = INameSpaceTreeControl_Initialize(pnstc, hwnd, &rc, 0);
ok(hr == S_OK, "Got (0x%08x)\n", hr);
@ -1563,7 +1563,7 @@ static void test_basics(void)
ok(hr == S_OK, "Got (0x%08x)\n", hr);
/* GetItemRect */
rc.top = rc.left = rc.bottom = rc.right = 0;
SetRectEmpty(&rc);
if(0)
{
/* Crashes under win 7 */