Module: wine Branch: refs/heads/master Commit: 2ee5a5bf7c4cc67f40a3dc7d5e8325224713dc85 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2ee5a5bf7c4cc67f40a3dc7d...
Author: Ulrich Czekalla ulrich@codeweavers.com Date: Thu Feb 23 11:33:10 2006 -0500
msi: When evaluating conditions, if the condition is empty or none is provided then treat it as being satisfied.
---
dlls/msi/dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 0a8fa50..69909a7 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1991,7 +1991,7 @@ static UINT msi_dialog_control_event( MS
condition = MSI_RecordGetString( rec, 5 ); r = MSI_EvaluateConditionW( dialog->package, condition ); - if( r == MSICONDITION_TRUE ) + if( r == MSICONDITION_TRUE || r == MSICONDITION_NONE ) { event = MSI_RecordGetString( rec, 3 ); arg = MSI_RecordGetString( rec, 4 );