Commit cf9886e6 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent cae3215a
...@@ -1608,6 +1608,9 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd, ...@@ -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;
......
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