Commit acb8baa1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: setting subsdec-encoding to an empty string is legal and the default value

parent 09087f42
...@@ -987,9 +987,10 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch ...@@ -987,9 +987,10 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
if( b_osdSettingChanged ) if( b_osdSettingChanged )
{ {
config_PutInt( p_intf, "osd", [o_osd_osd_ckb state] ); config_PutInt( p_intf, "osd", [o_osd_osd_ckb state] );
SaveStringList( o_osd_encoding_pop, "subsdec-encoding" ); if( [o_osd_encoding_pop indexOfSelectedItem] >= 0 )
// if( [o_osd_encoding_pop indexOfSelectedItem] >= 0 ) SaveStringList( o_osd_encoding_pop, "subsdec-encoding" );
// config_PutPsz( p_intf, "subsdec-encoding", [[[o_osd_encoding_pop selectedItem] title] UTF8String] ); else
config_PutPsz( p_intf, "subsdec-encoding", "" );
config_PutPsz( p_intf, "sub-language", [[o_osd_lang_fld stringValue] UTF8String] ); config_PutPsz( p_intf, "sub-language", [[o_osd_lang_fld stringValue] UTF8String] );
......
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