Jacek Caban : mshtml: Forward GetAsciiSpec to GetSpec.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 14 09:25:31 CST 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Feb 10 19:02:02 2007 +0100

mshtml: Forward GetAsciiSpec to GetSpec.

---

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

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index c21f55a..fdfe323 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -1500,10 +1500,13 @@ static nsresult NSAPI nsURI_GetAsciiSpec(nsIWineURI *iface, nsACString *aAsciiSp
 
     TRACE("(%p)->(%p)\n", This, aAsciiSpec);
 
+    if(This->wine_url)
+        return nsIURI_GetSpec(NSURI(This), aAsciiSpec);
+
     if(This->uri)
         return nsIURI_GetAsciiSpec(This->uri, aAsciiSpec);
 
-    FIXME("default action not implemented\n");
+    TRACE("returning error\n");
     return NS_ERROR_NOT_IMPLEMENTED;
 }
 




More information about the wine-cvs mailing list