Commit 5ceb0f29 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: forgot a corner case in the previous commit

parent 8be68853
...@@ -1534,8 +1534,12 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -1534,8 +1534,12 @@ static VLCMain *_o_sharedMainInstance = nil;
{ {
NSString *o_temp; NSString *o_temp;
vlc_object_yield( p_input ); vlc_object_yield( p_input );
o_temp = [NSString stringWithUTF8String: if( input_item_GetNowPlaying ( p_playlist->status.p_item->p_input ) )
p_playlist->status.p_item->p_input->psz_name]; o_temp = [NSString stringWithUTF8String:
input_item_GetNowPlaying ( p_playlist->status.p_item->p_input )];
else
o_temp = [NSString stringWithUTF8String:
p_playlist->status.p_item->p_input->psz_name];
[self setScrollField: o_temp stopAfter:-1]; [self setScrollField: o_temp stopAfter:-1];
vlc_object_release( p_input ); vlc_object_release( p_input );
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
......
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