Juan Lang : shdocvw: Apply default scheme when none is present.
Alexandre Julliard
julliard at winehq.org
Fri Aug 20 10:19:11 CDT 2010
Module: wine
Branch: master
Commit: 158f5be8042e3d779e2582cae2978823c7f3e2dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=158f5be8042e3d779e2582cae2978823c7f3e2dc
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Aug 19 12:08:12 2010 -0700
shdocvw: Apply default scheme when none is present.
---
dlls/shdocvw/navigate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c
index e3f0af8..a160ee2 100644
--- a/dlls/shdocvw/navigate.c
+++ b/dlls/shdocvw/navigate.c
@@ -783,7 +783,8 @@ HRESULT navigate_url(DocHost *This, LPCWSTR url, const VARIANT *Flags,
DWORD size;
size = sizeof(new_url)/sizeof(WCHAR);
- hres = UrlApplySchemeW(url, new_url, &size, URL_APPLY_GUESSSCHEME);
+ hres = UrlApplySchemeW(url, new_url, &size,
+ URL_APPLY_GUESSSCHEME | URL_APPLY_DEFAULT);
if(FAILED(hres)) {
WARN("UrlApplyScheme failed: %08x\n", hres);
new_url[0] = 0;
More information about the wine-cvs
mailing list