msi: Expand features with odd Display values.

This commit is contained in:
James Hawkins 2006-07-21 10:10:04 -07:00 committed by Alexandre Julliard
parent cf9886e6e0
commit e295bd9743
1 changed files with 4 additions and 0 deletions

View File

@ -1625,6 +1625,10 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
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 );
}
}