Commit 732df260 authored by Benjamin Pracht's avatar Benjamin Pracht

* Use the correct limit when looping

parent fdb2f80a
......@@ -157,8 +157,8 @@
- (void)initPanel:(id)sender
{
/* check whether our item is valid, because we would crash if not */
if(! [self isItemInPlaylist: p_item] )
return;
if(! [self isItemInPlaylist: p_item] ) return;
char *psz_temp;
vlc_mutex_lock( &p_item->input.lock );
......@@ -214,7 +214,6 @@
{
[self updateStatistics: nil];
}
[o_info_window makeKeyAndOrderFront: sender];
}
......@@ -322,7 +321,7 @@
return NO;
}
for( i = 0 ; i < p_playlist->i_size ; i++ )
for( i = 0 ; i < p_playlist->i_all_size ; i++ )
{
if( p_playlist->pp_all_items[i] == p_local_item )
{
......
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