mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
mshtml: Use IUri for nsIURI::GetSpec implementation.
This commit is contained in:
parent
3f383bac3b
commit
6a37caaecb
@ -1693,13 +1693,10 @@ static nsrefcnt NSAPI nsURI_Release(nsIURL *iface)
|
||||
static nsresult NSAPI nsURI_GetSpec(nsIURL *iface, nsACString *aSpec)
|
||||
{
|
||||
nsWineURI *This = NSURI_THIS(iface);
|
||||
char speca[INTERNET_MAX_URL_LENGTH];
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, aSpec);
|
||||
|
||||
WideCharToMultiByte(CP_ACP, 0, This->wine_url, -1, speca, sizeof(speca), NULL, NULL);
|
||||
nsACString_SetData(aSpec, speca);
|
||||
return NS_OK;
|
||||
return get_uri_string(This, Uri_PROPERTY_DISPLAY_URI, aSpec);
|
||||
}
|
||||
|
||||
static nsresult NSAPI nsURI_SetSpec(nsIURL *iface, const nsACString *aSpec)
|
||||
|
Loading…
Reference in New Issue
Block a user