mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mshtml: The HTMLDocument URL is a standard WCHAR string, not a BSTR.
This commit is contained in:
parent
ed147bb102
commit
868b5397d3
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ struct HTMLDocument {
|
||||||
|
|
||||||
BSCallback *bscallback;
|
BSCallback *bscallback;
|
||||||
IMoniker *mon;
|
IMoniker *mon;
|
||||||
BSTR url;
|
LPOLESTR url;
|
||||||
|
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
HWND tooltips_hwnd;
|
HWND tooltips_hwnd;
|
||||||
|
|
|
@ -175,7 +175,7 @@ void set_current_mon(HTMLDocument *This, IMoniker *mon)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(This->url) {
|
if(This->url) {
|
||||||
SysFreeString(This->url);
|
CoTaskMemFree(This->url);
|
||||||
This->url = NULL;
|
This->url = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue