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
45b862d5
Commit
45b862d5
authored
Feb 18, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't mix nsresult with HRESULT.
parent
746ffa65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
editor.c
dlls/mshtml/editor.c
+4
-3
No files found.
dlls/mshtml/editor.c
View file @
45b862d5
...
@@ -1163,6 +1163,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
...
@@ -1163,6 +1163,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
nsISelection
*
nsselection
;
nsISelection
*
nsselection
;
nsIDOMDocument
*
nsdoc
;
nsIDOMDocument
*
nsdoc
;
nsresult
nsres
;
nsresult
nsres
;
HRESULT
hres
=
E_FAIL
;
TRACE
(
"%p, 0x%x, %p, %p
\n
"
,
This
,
cmdexecopt
,
in
,
out
);
TRACE
(
"%p, 0x%x, %p, %p
\n
"
,
This
,
cmdexecopt
,
in
,
out
);
...
@@ -1242,9 +1243,9 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
...
@@ -1242,9 +1243,9 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
nsIDOMElement_Release
(
anchor_elem
);
nsIDOMElement_Release
(
anchor_elem
);
nsIDOMDocument_Release
(
nsdoc
);
nsIDOMDocument_Release
(
nsdoc
);
hres
=
NS_SUCCEEDED
(
nsres
)
?
S_OK
:
E_FAIL
;
}
}
else
nsres
=
E_FAIL
;
nsISelection_Release
(
nsselection
);
nsISelection_Release
(
nsselection
);
...
@@ -1252,7 +1253,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
...
@@ -1252,7 +1253,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
SysFreeString
(
url
);
SysFreeString
(
url
);
TRACE
(
"-- 0x%08x
\n
"
,
nsres
);
TRACE
(
"-- 0x%08x
\n
"
,
nsres
);
return
ns
res
;
return
h
res
;
}
}
static
HRESULT
query_selall_status
(
HTMLDocument
*
This
,
OLECMD
*
cmd
)
static
HRESULT
query_selall_status
(
HTMLDocument
*
This
,
OLECMD
*
cmd
)
...
...
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