Hans Leidekker : msi: Respect the indirect attribute in the SelectionPath event handler.
Alexandre Julliard
julliard at winehq.org
Fri Sep 9 10:56:45 CDT 2011
Module: wine
Branch: master
Commit: f618eb28607e456fab6b61a9c271f5093bbe8065
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f618eb28607e456fab6b61a9c271f5093bbe8065
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Sep 9 10:59:18 2011 +0200
msi: Respect the indirect attribute in the SelectionPath event handler.
---
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);
More information about the wine-cvs
mailing list