Commit f42a78ff authored by Clément Stenac's avatar Clément Stenac

Don't display in OS X either. Needs to be checked

parent 28bfab09
...@@ -312,6 +312,7 @@ static VLCTreeItem *o_root_item = nil; ...@@ -312,6 +312,7 @@ static VLCTreeItem *o_root_item = nil;
switch( p_item->i_type ) switch( p_item->i_type )
{ {
case CONFIG_CATEGORY: case CONFIG_CATEGORY:
if( p_item->i_value == -1 ) break;
o_child_name = [[VLCMain sharedInstance] o_child_name = [[VLCMain sharedInstance]
localizedString: config_CategoryNameGet( p_item->i_value ) ]; localizedString: config_CategoryNameGet( p_item->i_value ) ];
o_child_title = o_child_name; o_child_title = o_child_name;
...@@ -329,6 +330,7 @@ static VLCTreeItem *o_root_item = nil; ...@@ -329,6 +330,7 @@ static VLCTreeItem *o_root_item = nil;
whithCategory: p_item - p_module->p_config]]; whithCategory: p_item - p_module->p_config]];
break; break;
case CONFIG_SUBCATEGORY: case CONFIG_SUBCATEGORY:
if( p_item->i_value == -1 ) break;
o_child_name = [[VLCMain sharedInstance] o_child_name = [[VLCMain sharedInstance]
localizedString: config_CategoryNameGet( p_item->i_value ) ]; localizedString: config_CategoryNameGet( p_item->i_value ) ];
o_child_title = o_child_name; o_child_title = o_child_name;
......
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