Module: wine Branch: refs/heads/master Commit: e295bd97431fefdeac74f4c5c340c266bae1dd75 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e295bd97431fefdeac74f4c5...
Author: James Hawkins truiken@gmail.com Date: Fri Jul 21 10:10:04 2006 -0700
msi: Expand features with odd Display values.
---
dlls/msi/dialog.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 1c6e425..9b1c32e 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1625,6 +1625,10 @@ msi_seltree_add_child_features( MSIPACKA msi_seltree_sync_item_state( hwnd, feature, hitem ); msi_seltree_add_child_features( package, hwnd, feature->Feature, hitem ); + + /* the node is expanded if Display is odd */ + if ( feature->Display % 2 != 0 ) + SendMessageW( hwnd, TVM_EXPAND, TVE_EXPAND, (LPARAM) hitem ); } }