[1/8] msi: Respect the indirect attribute in the SelectionPath event handler.
Hans Leidekker
hans at codeweavers.com
Fri Sep 9 03:59:18 CDT 2011
---
dlls/msi/dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 2210f17..caad21c 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -691,7 +691,8 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
}
else if ( !strcmpW( attribute, szSelectionPath ) )
{
- LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, TRUE );
+ BOOL indirect = ctrl->attributes & msidbControlAttributesIndirect;
+ LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, indirect );
if (!path) return;
SetWindowTextW( ctrl->hwnd, path );
msi_free(path);
--
1.7.5.4
More information about the wine-patches
mailing list