Module: wine Branch: master Commit: a4e01951579da52b7facc245aad5d5f869ba4aa3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4e01951579da52b7facc245aa...
Author: Detlef Riekenberg wine.dev@web.de Date: Tue Aug 3 05:32:29 2010 +0200
shdocvw: Do not trim the last character, when using the iexplore open menu.
---
dlls/shdocvw/iexplore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shdocvw/iexplore.c b/dlls/shdocvw/iexplore.c index bef25ab..b794a8b 100644 --- a/dlls/shdocvw/iexplore.c +++ b/dlls/shdocvw/iexplore.c @@ -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));