Commit 365e2e9d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 75059e9e
......@@ -963,10 +963,7 @@ static void test_wmp(void)
test_window(hwnd);
pos.left = 1;
pos.top = 2;
pos.right = 301;
pos.bottom = 312;
SetRect(&pos, 1, 2, 301, 312);
hres = IOleInPlaceObject_SetObjectRects(ipobj, &pos, &pos);
ok(hres == S_OK, "SetObjectRects failed: %08x\n", hres);
GetClientRect(hwnd, &pos);
......
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