Commit ac7ed5b9 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Two small bugs in the OSX intf

parent 67541262
...@@ -724,7 +724,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ ...@@ -724,7 +724,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
o_current_name = [NSString stringWithUTF8String: o_current_name = [NSString stringWithUTF8String:
p_item->pp_children[i_current]->input.psz_name]; p_item->pp_children[i_current]->input.psz_name];
psz_temp = vlc_input_item_GetInfo( &p_item->input , psz_temp = vlc_input_item_GetInfo( &p_item->input ,
_("Meta-information"),_("Author") ); _("Meta-information"),_("Artist") );
o_current_author = [NSString stringWithUTF8String: psz_temp]; o_current_author = [NSString stringWithUTF8String: psz_temp];
free( psz_temp); free( psz_temp);
vlc_mutex_unlock( &p_playlist->object_lock ); vlc_mutex_unlock( &p_playlist->object_lock );
......
...@@ -120,10 +120,9 @@ ...@@ -120,10 +120,9 @@
if( psz_temp ) if( psz_temp )
{ {
[o_author_txt setStringValue: [NSString stringWithUTF8String: psz_temp]]; [o_author_txt setStringValue: [NSString stringWithUTF8String: psz_temp]];
free( psz_temp );
} }
free( psz_temp );
[[VLCInfoTreeItem rootItem] refresh]; [[VLCInfoTreeItem rootItem] refresh];
[o_outline_view reloadData]; [o_outline_view reloadData];
......
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