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
54a61744
Commit
54a61744
authored
Nov 05, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Features don't require a directory.
parent
1183383a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
dialog.c
dlls/msi/dialog.c
+10
-5
No files found.
dlls/msi/dialog.c
View file @
54a61744
...
...
@@ -2377,14 +2377,19 @@ static UINT msi_dialog_seltree_handler( msi_dialog *dialog,
ControlEvent_FireSubscribedEvent
(
dialog
->
package
,
szSelectionDescription
,
rec
);
dir
=
MSI_RecordGetString
(
row
,
7
);
folder
=
get_loaded_folder
(
dialog
->
package
,
dir
);
if
(
!
folder
)
if
(
dir
)
{
r
=
ERROR_FUNCTION_FAILED
;
goto
done
;
folder
=
get_loaded_folder
(
dialog
->
package
,
dir
);
if
(
!
folder
)
{
r
=
ERROR_FUNCTION_FAILED
;
goto
done
;
}
MSI_RecordSetStringW
(
rec
,
1
,
folder
->
ResolvedTarget
);
}
else
MSI_RecordSetStringW
(
rec
,
1
,
NULL
);
MSI_RecordSetStringW
(
rec
,
1
,
folder
->
ResolvedTarget
);
ControlEvent_FireSubscribedEvent
(
dialog
->
package
,
szSelectionPath
,
rec
);
done:
...
...
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