Commit b085b23b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Fix the SelectionPath event handler.

parent 8c850a82
......@@ -692,12 +692,9 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
}
else if ( !strcmpW( attribute, szSelectionPath ) )
{
LPWSTR prop = msi_dialog_dup_property( dialog, ctrl->property, TRUE );
LPWSTR path;
if (!prop) return;
path = msi_dup_property( dialog->package->db, prop );
LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, TRUE );
if (!path) return;
SetWindowTextW( ctrl->hwnd, path );
msi_free(prop);
msi_free(path);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment