Commit 15c55ff7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

explorerframe: Use the proper RECT APIs.

parent 8258d900
......@@ -910,9 +910,9 @@ static HRESULT WINAPI NSTC2_fnInitialize(INameSpaceTreeControl2* iface,
window_ex_style = nstcsFlags & NSTCS_TABSTOP ? WS_EX_CONTROLPARENT : 0;
if(prc)
CopyRect(&rc, prc);
rc = *prc;
else
rc.left = rc.right = rc.top = rc.bottom = 0;
SetRectEmpty(&rc);
This->hwnd_main = CreateWindowExW(window_ex_style, NSTC2_CLASS_NAME, NULL, window_style,
rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top,
......
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