Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b43cd188
Commit
b43cd188
authored
Apr 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use return_nsstr helper in IHTMLBodyElement::get_background implementation.
parent
4c66a462
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
htmlbody.c
dlls/mshtml/htmlbody.c
+1
-14
No files found.
dlls/mshtml/htmlbody.c
View file @
b43cd188
...
...
@@ -293,21 +293,8 @@ static HRESULT WINAPI HTMLBodyElement_get_background(IHTMLBodyElement *iface, BS
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
background_str
,
NULL
);
nsres
=
nsIDOMHTMLBodyElement_GetBackground
(
This
->
nsbody
,
&
background_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
const
PRUnichar
*
background
;
nsAString_GetData
(
&
background_str
,
&
background
);
*
p
=
*
background
?
SysAllocString
(
background
)
:
NULL
;
}
else
{
ERR
(
"GetBackground failed: %08x
\n
"
,
nsres
);
*
p
=
NULL
;
}
nsAString_Finish
(
&
background_str
);
TRACE
(
"*p = %s
\n
"
,
debugstr_w
(
*
p
));
return
S_OK
;
return
return_nsstr
(
nsres
,
&
background_str
,
p
);
}
static
HRESULT
WINAPI
HTMLBodyElement_put_bgProperties
(
IHTMLBodyElement
*
iface
,
BSTR
v
)
...
...
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