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
05d60031
Commit
05d60031
authored
Jul 17, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Never pass a NULL string pointer with DISPID_STATUSTEXTCHANGE.
parent
99613c00
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
navigate.c
dlls/ieframe/navigate.c
+1
-1
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+1
-0
No files found.
dlls/ieframe/navigate.c
View file @
05d60031
...
@@ -115,7 +115,7 @@ static void set_status_text(BindStatusCallback *This, ULONG statuscode, LPCWSTR
...
@@ -115,7 +115,7 @@ static void set_status_text(BindStatusCallback *This, ULONG statuscode, LPCWSTR
}
}
V_VT
(
&
arg
)
=
VT_BSTR
;
V_VT
(
&
arg
)
=
VT_BSTR
;
V_BSTR
(
&
arg
)
=
str
?
SysAllocString
(
buffer
)
:
NULL
;
V_BSTR
(
&
arg
)
=
str
?
SysAllocString
(
buffer
)
:
SysAllocString
(
emptyW
)
;
TRACE
(
"=> %s
\n
"
,
debugstr_w
(
V_BSTR
(
&
arg
)));
TRACE
(
"=> %s
\n
"
,
debugstr_w
(
V_BSTR
(
&
arg
)));
call_sink
(
This
->
doc_host
->
cps
.
wbe2
,
DISPID_STATUSTEXTCHANGE
,
&
dispparams
);
call_sink
(
This
->
doc_host
->
cps
.
wbe2
,
DISPID_STATUSTEXTCHANGE
,
&
dispparams
);
...
...
dlls/ieframe/tests/webbrowser.c
View file @
05d60031
...
@@ -833,6 +833,7 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe
...
@@ -833,6 +833,7 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe
ok
(
pDispParams
->
cArgs
==
1
,
"cArgs=%d, expected 1
\n
"
,
pDispParams
->
cArgs
);
ok
(
pDispParams
->
cArgs
==
1
,
"cArgs=%d, expected 1
\n
"
,
pDispParams
->
cArgs
);
ok
(
V_VT
(
pDispParams
->
rgvarg
)
==
VT_BSTR
,
"V_VT(pDispParams->rgvarg)=%d, expected VT_BSTR
\n
"
,
ok
(
V_VT
(
pDispParams
->
rgvarg
)
==
VT_BSTR
,
"V_VT(pDispParams->rgvarg)=%d, expected VT_BSTR
\n
"
,
V_VT
(
pDispParams
->
rgvarg
));
V_VT
(
pDispParams
->
rgvarg
));
ok
(
V_BSTR
(
pDispParams
->
rgvarg
)
!=
NULL
,
"V_BSTR(pDispParams->rgvarg) is NULL
\n
"
);
/* TODO: Check text */
/* TODO: Check text */
break
;
break
;
...
...
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