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
d62c50bc
Commit
d62c50bc
authored
Sep 28, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Ignore VT_ERROR arguments to WebBrowser_Navigate2.
parent
6c8e5a39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
webbrowser.c
dlls/shdocvw/webbrowser.c
+2
-2
No files found.
dlls/shdocvw/webbrowser.c
View file @
d62c50bc
...
@@ -675,7 +675,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
...
@@ -675,7 +675,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
if
(
V_VT
(
URL
)
!=
VT_BSTR
)
if
(
V_VT
(
URL
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
if
(
PostData
&&
V_VT
(
PostData
)
!=
VT_EMPTY
)
{
if
(
PostData
&&
V_VT
(
PostData
)
!=
VT_EMPTY
&&
V_VT
(
PostData
)
!=
VT_ERROR
)
{
if
(
V_VT
(
PostData
)
!=
(
VT_ARRAY
|
VT_UI1
)
if
(
V_VT
(
PostData
)
!=
(
VT_ARRAY
|
VT_UI1
)
||
V_ARRAY
(
PostData
)
->
cDims
!=
1
)
{
||
V_ARRAY
(
PostData
)
->
cDims
!=
1
)
{
WARN
(
"Invalid PostData
\n
"
);
WARN
(
"Invalid PostData
\n
"
);
...
@@ -686,7 +686,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
...
@@ -686,7 +686,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
post_data_len
=
V_ARRAY
(
PostData
)
->
rgsabound
[
0
].
cElements
;
post_data_len
=
V_ARRAY
(
PostData
)
->
rgsabound
[
0
].
cElements
;
}
}
if
(
Headers
&&
V_VT
(
Headers
)
!=
VT_EMPTY
)
{
if
(
Headers
&&
V_VT
(
Headers
)
!=
VT_EMPTY
&&
V_VT
(
Headers
)
!=
VT_ERROR
)
{
if
(
V_VT
(
Headers
)
!=
VT_BSTR
)
if
(
V_VT
(
Headers
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
...
...
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