Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
25b4d6be
Commit
25b4d6be
authored
Feb 27, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use return_nsstr helper in IHTMLDocument5::get_compatMode.
parent
e56e9c11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-8
No files found.
dlls/mshtml/htmldoc.c
View file @
25b4d6be
...
...
@@ -2882,7 +2882,7 @@ static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument5
(
iface
);
nsAString
mode_str
;
const
PRUnichar
*
mode
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -2892,13 +2892,8 @@ static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *
}
nsAString_Init
(
&
mode_str
,
NULL
);
nsIDOMHTMLDocument_GetCompatMode
(
This
->
doc_node
->
nsdoc
,
&
mode_str
);
nsAString_GetData
(
&
mode_str
,
&
mode
);
*
p
=
SysAllocString
(
mode
);
nsAString_Finish
(
&
mode_str
);
return
S_OK
;
nsres
=
nsIDOMHTMLDocument_GetCompatMode
(
This
->
doc_node
->
nsdoc
,
&
mode_str
);
return
return_nsstr
(
nsres
,
&
mode_str
,
p
);
}
static
const
IHTMLDocument5Vtbl
HTMLDocument5Vtbl
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment