mshtml: Forward GetAsciiSpec to GetSpec.
authorJacek Caban <jacek@codeweavers.com>
Sat, 10 Feb 2007 18:02:02 +0000 (19:02 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 14 Feb 2007 10:56:39 +0000 (11:56 +0100)
dlls/mshtml/nsio.c

index c21f55a..fdfe323 100644 (file)
@@ -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;
 }