mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
msi: Don't crash if we can't find a control.
This commit is contained in:
parent
f9042ec9e8
commit
7a120c99ea
1 changed files with 2 additions and 0 deletions
|
@ -1425,6 +1425,8 @@ static void msi_dialog_update_pathedit( msi_dialog *dialog )
|
|||
BOOL indirect;
|
||||
|
||||
control = msi_dialog_find_control( dialog, szPathEdit );
|
||||
if (!control)
|
||||
return;
|
||||
indirect = control->attributes & msidbControlAttributesIndirect;
|
||||
prop = msi_dialog_dup_property( dialog, control->property, indirect );
|
||||
|
||||
|
|
Loading…
Reference in a new issue