msi: Don't display a feature if its Display value is zero.
This commit is contained in:
parent
cae3215a6f
commit
cf9886e6e0
|
@ -1608,6 +1608,9 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
|
||||||
if ( !feature->Title )
|
if ( !feature->Title )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if ( !feature->Display )
|
||||||
|
continue;
|
||||||
|
|
||||||
memset( &tvis, 0, sizeof tvis );
|
memset( &tvis, 0, sizeof tvis );
|
||||||
tvis.hParent = hParent;
|
tvis.hParent = hParent;
|
||||||
tvis.hInsertAfter = TVI_LAST;
|
tvis.hInsertAfter = TVI_LAST;
|
||||||
|
|
Loading…
Reference in New Issue