Changeset 5a843a7f222ad3cd31bce94bc2c92967ecce8633

Show
Ignore:
Timestamp:
10/21/06 22:04:36 (2 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1161461076 +0000
git-parent:

[718e1e051546b81ec650ea7bc6a7218daf038e2d]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1161461076 +0000
Message:

* Updates due to the new playlist core

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/playlist.m

    rb6d0e5a r5a843a7  
    599599           p_items that don't exist anymore, first check if the item is still 
    600600           in the playlist. Any cleaner solution welcomed. */ 
    601             for( i = 0; i < p_playlist->i_all_size; i++ ) 
    602             { 
    603                 if( p_playlist->pp_all_items[i] == p_item ) break; 
    604                 else if ( i == p_playlist->i_all_size - 1 ) 
     601            for( i = 0; i < p_playlist->all_items.i_size; i++ ) 
     602            { 
     603                if( ARRAY_VAL( p_playlist->all_items, i) == p_item ) break; 
     604                else if ( i == p_playlist->all_items.i_size - 1 ) 
    605605                { 
    606606                    vlc_object_release( p_playlist ); 
  • modules/gui/macosx/playlistinfo.m

    r7fef8b8 r5a843a7  
    311311    int i; 
    312312 
    313     for( i = 0 ; i < p_playlist->i_all_size ; i++ ) 
    314     { 
    315         if( p_playlist->pp_all_items[i] == p_local_item ) 
     313    for( i = 0 ; i < p_playlist->all_items.i_size ; i++ ) 
     314    { 
     315        if( ARRAY_VAL( p_playlist->all_items, i ) == p_local_item ) 
    316316        { 
    317317            vlc_object_release( p_playlist );