Jacek Caban : mshtml: Always return fake scheme in nsIURI:: GetScheme if use_wine_url is set.

Alexandre Julliard julliard at winehq.org
Tue Dec 1 09:19:40 CST 2009


Module: wine
Branch: master
Commit: bb60430de4a48860e018cb8419901eeaf3650526
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bb60430de4a48860e018cb8419901eeaf3650526

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Nov 30 18:01:47 2009 +0100

mshtml: Always return fake scheme in nsIURI::GetScheme if use_wine_url is set.

---

 dlls/mshtml/nsio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index ec214ca..4328761 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -1506,7 +1506,7 @@ static nsresult NSAPI nsURI_GetScheme(nsIWineURI *iface, nsACString *aScheme)
 
     TRACE("(%p)->(%p)\n", This, aScheme);
 
-    if(This->use_wine_url && strcmpW(This->wine_url, about_blankW)) {
+    if(This->use_wine_url) {
         /*
          * For Gecko we set scheme to unknown so it won't be handled
          * as any special case.




More information about the wine-cvs mailing list