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
8fe7ee31
Commit
8fe7ee31
authored
Jan 26, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Include the dialog in the check for duplicate event subscriptions.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
05eae360
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dialog.c
dlls/msi/dialog.c
+4
-2
No files found.
dlls/msi/dialog.c
View file @
8fe7ee31
...
...
@@ -704,11 +704,13 @@ static void event_subscribe( msi_dialog *dialog, const WCHAR *event, const WCHAR
{
struct
subscriber
*
sub
;
TRACE
(
"event %s control %s attribute %s
\n
"
,
debugstr_w
(
event
),
debugstr_w
(
control
),
debugstr_w
(
attribute
));
TRACE
(
"dialog %s event %s control %s attribute %s
\n
"
,
debugstr_w
(
dialog
->
name
),
debugstr_w
(
event
),
debugstr_w
(
control
),
debugstr_w
(
attribute
));
LIST_FOR_EACH_ENTRY
(
sub
,
&
dialog
->
package
->
subscriptions
,
struct
subscriber
,
entry
)
{
if
(
!
strcmpiW
(
sub
->
event
,
event
)
&&
if
(
sub
->
dialog
==
dialog
&&
!
strcmpiW
(
sub
->
event
,
event
)
&&
!
strcmpiW
(
sub
->
control
,
control
)
&&
!
strcmpiW
(
sub
->
attribute
,
attribute
))
{
...
...
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