msi: Don't display a feature if its Display value is zero.

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

View File

@ -1608,6 +1608,9 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
if ( !feature->Title )
continue;
if ( !feature->Display )
continue;
memset( &tvis, 0, sizeof tvis );
tvis.hParent = hParent;
tvis.hInsertAfter = TVI_LAST;