forked from Mirrors/wine-wine
mshtml: Return NS_OK for empty aRef in nsIURL::SetRef.
parent
fa3ac0a3d9
commit
007b398215
|
@ -2000,12 +2000,17 @@ static nsresult NSAPI nsURL_GetRef(nsIWineURI *iface, nsACString *aRef)
|
||||||
static nsresult NSAPI nsURL_SetRef(nsIWineURI *iface, const nsACString *aRef)
|
static nsresult NSAPI nsURL_SetRef(nsIWineURI *iface, const nsACString *aRef)
|
||||||
{
|
{
|
||||||
nsURI *This = NSURI_THIS(iface);
|
nsURI *This = NSURI_THIS(iface);
|
||||||
|
const char *refa;
|
||||||
|
|
||||||
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aRef));
|
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aRef));
|
||||||
|
|
||||||
if(This->nsurl)
|
if(This->nsurl)
|
||||||
return nsIURL_SetRef(This->nsurl, aRef);
|
return nsIURL_SetRef(This->nsurl, aRef);
|
||||||
|
|
||||||
|
nsACString_GetData(aRef, &refa);
|
||||||
|
if(!*refa)
|
||||||
|
return NS_OK;
|
||||||
|
|
||||||
FIXME("default action not implemented\n");
|
FIXME("default action not implemented\n");
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue