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
bfec9c61
Commit
bfec9c61
authored
Dec 03, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed dispid lookup in_cp_event.
parent
451f5b4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
htmlevent.c
dlls/mshtml/htmlevent.c
+3
-3
No files found.
dlls/mshtml/htmlevent.c
View file @
bfec9c61
...
@@ -780,7 +780,7 @@ static HRESULT call_cp_func(IDispatch *disp, DISPID dispid)
...
@@ -780,7 +780,7 @@ static HRESULT call_cp_func(IDispatch *disp, DISPID dispid)
static
BOOL
is_cp_event
(
ConnectionPoint
*
cp
,
DISPID
dispid
)
static
BOOL
is_cp_event
(
ConnectionPoint
*
cp
,
DISPID
dispid
)
{
{
cp_static_data_t
*
data
;
cp_static_data_t
*
data
;
unsigned
min
,
max
,
i
;
int
min
,
max
,
i
;
HRESULT
hres
;
HRESULT
hres
;
data
=
cp
->
data
;
data
=
cp
->
data
;
...
@@ -790,11 +790,11 @@ static BOOL is_cp_event(ConnectionPoint *cp, DISPID dispid)
...
@@ -790,11 +790,11 @@ static BOOL is_cp_event(ConnectionPoint *cp, DISPID dispid)
if
(
!
data
->
ids
)
{
if
(
!
data
->
ids
)
{
hres
=
get_dispids
(
data
->
tid
,
&
data
->
id_cnt
,
&
data
->
ids
);
hres
=
get_dispids
(
data
->
tid
,
&
data
->
id_cnt
,
&
data
->
ids
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
FALSE
;
}
}
min
=
0
;
min
=
0
;
max
=
data
->
id_cnt
;
max
=
data
->
id_cnt
-
1
;
while
(
min
<=
max
)
{
while
(
min
<=
max
)
{
i
=
(
min
+
max
)
/
2
;
i
=
(
min
+
max
)
/
2
;
if
(
data
->
ids
[
i
]
==
dispid
)
if
(
data
->
ids
[
i
]
==
dispid
)
...
...
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