shdocvw: Do not trim the last character, when using the iexplore open menu.

This commit is contained in:
Detlef Riekenberg 2010-08-03 05:32:29 +02:00 committed by Alexandre Julliard
parent 51aef89bea
commit a4e0195157
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ static INT_PTR CALLBACK ie_dialog_open_proc(HWND hwnd, UINT msg, WPARAM wparam,
V_VT(&url) = VT_BSTR;
V_BSTR(&url) = SysAllocStringLen(NULL, len);
GetWindowTextW(hwndurl, V_BSTR(&url), len);
GetWindowTextW(hwndurl, V_BSTR(&url), len + 1);
IWebBrowser2_Navigate2(WEBBROWSER2(This), &url, NULL, NULL, NULL, NULL);
SysFreeString(V_BSTR(&url));