Commit 83010dc8 authored by Laurent Aimar's avatar Laurent Aimar

Updated macosx intf after teletext-es change.

It is untested.
parent f04d3e8f
...@@ -1041,15 +1041,8 @@ ...@@ -1041,15 +1041,8 @@
if( [[o_mi title] isEqualToString: _NS("Normal Size")] ); if( [[o_mi title] isEqualToString: _NS("Normal Size")] );
{ {
NSMenuItem *item = [[o_mi menu] itemWithTitle:_NS("Teletext")]; NSMenuItem *item = [[o_mi menu] itemWithTitle:_NS("Teletext")];
bool b_telx = false; bool b_telx = p_input && var_GetInteger( p_input, "teletext-es" ) >= 0;
if( p_input )
{
const int i_teletext_es = var_GetInteger( p_input, "teletext-es" );
const int i_spu_es = var_GetInteger( p_input, "spu-es" );
if( i_teletext_es >= 0 && i_teletext_es == i_spu_es )
b_telx = true;
}
[[item submenu] setAutoenablesItems:NO]; [[item submenu] setAutoenablesItems:NO];
for( int k=0; k < [[item submenu] numberOfItems]; k++ ) for( int k=0; k < [[item submenu] numberOfItems]; k++ )
{ {
......
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