Commit 6eb70eea authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

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