Commit 007b3982 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Return NS_OK for empty aRef in nsIURL::SetRef.

parent fa3ac0a3
......@@ -2000,12 +2000,17 @@ static nsresult NSAPI nsURL_GetRef(nsIWineURI *iface, nsACString *aRef)
static nsresult NSAPI nsURL_SetRef(nsIWineURI *iface, const nsACString *aRef)
{
nsURI *This = NSURI_THIS(iface);
const char *refa;
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aRef));
if(This->nsurl)
return nsIURL_SetRef(This->nsurl, aRef);
nsACString_GetData(aRef, &refa);
if(!*refa)
return NS_OK;
FIXME("default action not implemented\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