mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msi: Avoid a crash in msi_dialog_handle_event.
This commit is contained in:
parent
71f0dd6044
commit
8df6708af4
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
|
|||
else if ( !strcmpW( attribute, szProperty ) )
|
||||
{
|
||||
MSIFEATURE *feature = msi_seltree_get_selected_feature( ctrl );
|
||||
msi_dialog_set_property( dialog->package, ctrl->property, feature->Directory );
|
||||
if (feature) msi_dialog_set_property( dialog->package, ctrl->property, feature->Directory );
|
||||
}
|
||||
else if ( !strcmpW( attribute, szSelectionPath ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue