[3/3] msi: An inactive dialog control does not require a property.

Hans Leidekker hans at codeweavers.com
Tue Oct 26 05:42:49 CDT 2010


Fixes http://bugs.winehq.org/show_bug.cgi?id=24895
---
 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 32ca97b..1221531 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -1988,7 +1988,7 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
         return ERROR_FUNCTION_FAILED;
     control->handler = msi_dialog_radiogroup_handler;
 
-    if (!strcmpW( control->name, group->propval ))
+    if (group->propval && !strcmpW( control->name, group->propval ))
         SendMessageW(control->hwnd, BM_SETCHECK, BST_CHECKED, 0);
 
     prop = MSI_RecordGetString( rec, 1 );
-- 
1.7.1






More information about the wine-patches mailing list