Commit facf4753 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use wine_url in GetSpec if possible.

parent 82adfaae
......@@ -1157,9 +1157,6 @@ static nsresult NSAPI nsURI_GetSpec(nsIWineURI *iface, nsACString *aSpec)
TRACE("(%p)->(%p)\n", This, aSpec);
if(This->uri)
return nsIURI_GetSpec(This->uri, aSpec);
if(This->use_wine_url) {
char speca[INTERNET_MAX_URL_LENGTH];
WideCharToMultiByte(CP_ACP, 0, This->wine_url, -1, speca, sizeof(speca), NULL, NULL);
......@@ -1168,6 +1165,9 @@ static nsresult NSAPI nsURI_GetSpec(nsIWineURI *iface, nsACString *aSpec)
return NS_OK;
}
if(This->uri)
return nsIURI_GetSpec(This->uri, aSpec);
TRACE("returning error\n");
return NS_ERROR_NOT_IMPLEMENTED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment