msi [2/12]: Don't ERR if a dialog doesn't provide control conditions, as they are not required

James Hawkins truiken at gmail.com
Tue Oct 3 16:59:16 CDT 2006


Hi,

Changelog:
* Don't ERR if a dialog doesn't provide control conditions, as they
are not required.

 dlls/msi/dialog.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 11719dd..fcbd766 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -2529,10 +2529,7 @@ static UINT msi_dialog_evaluate_control_
     /* query the Control table for all the elements of the control */
     r = MSI_OpenQuery( package->db, &view, query, dialog->name );
     if( r != ERROR_SUCCESS )
-    {
-        ERR("query failed for dialog %s\n", debugstr_w(dialog->name));
-        return ERROR_INVALID_PARAMETER;
-    }
+        return ERROR_SUCCESS;
 
     r = MSI_IterateRecords( view, 0, msi_dialog_set_control_condition, dialog );
     msiobj_release( &view->hdr );
-- 
1.4.2.1


More information about the wine-patches mailing list