James Hawkins : msi: Don't ERR if a dialog doesn' t provide control conditions, as they are not required.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 4 04:25:12 CDT 2006


Module: wine
Branch: master
Commit: 038d31ca93f0fee8af13b5863d3da07536de0945
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=038d31ca93f0fee8af13b5863d3da07536de0945

Author: James Hawkins <truiken at gmail.com>
Date:   Tue Oct  3 14:59:16 2006 -0700

msi: 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(-)

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 );




More information about the wine-cvs mailing list