msi: dialog.c
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Thu Feb 23 10:33:10 CST 2006
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
When evaluating conditions, if the condition is empty or none is provided
then treat it as being satisfied.
-------------- next part --------------
Subject: [PATCH] Empty conditions should be treated as satisfied
---
dlls/msi/dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
8215e38357be10605fab185b93b9b47ce32d0cc1
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 );
--
1.0.6
More information about the wine-patches
mailing list