mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Call SetWineURL in Clone.
This commit is contained in:
parent
124cb44903
commit
9750893eff
@ -1440,6 +1440,7 @@ static nsresult NSAPI nsURI_Clone(nsIWineURI *iface, nsIURI **_retval)
|
||||
|
||||
if(This->uri) {
|
||||
nsIURI *uri;
|
||||
nsIWineURI *wine_uri;
|
||||
nsresult nsres;
|
||||
|
||||
nsres = nsIURI_Clone(This->uri, &uri);
|
||||
@ -1448,7 +1449,11 @@ static nsresult NSAPI nsURI_Clone(nsIWineURI *iface, nsIURI **_retval)
|
||||
return nsres;
|
||||
}
|
||||
|
||||
return create_uri(uri, This->container, (nsIWineURI**)_retval);
|
||||
nsres = create_uri(uri, This->container, &wine_uri);
|
||||
*_retval = (nsIURI*)wine_uri;
|
||||
if(NS_SUCCEEDED(nsres))
|
||||
return nsIWineURI_SetWineURL(wine_uri, This->wine_url);
|
||||
return nsres;
|
||||
}
|
||||
|
||||
FIXME("default action not implemented\n");
|
||||
|
Loading…
Reference in New Issue
Block a user