Changeset 122a7d863270ca265144610276b5198396a66708
- Timestamp:
- 04/23/08 10:39:46
(5 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1208939986 +0200
- git-parent:
[7bc28eebe843ef72304a7ec4bb7e89a12a17187a]
- git-author:
- Rafaël Carré <funman@videolan.org> 1208939146 +0200
- Message:
Remove playlist items from the "items" array when they are deleted
Note that the only aim of this array seems to be counting the non-node items
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r04cfbc3 |
r122a7d8 |
|
| 853 | 853 | ARRAY_REMOVE( p_playlist->all_items, i ); |
|---|
| 854 | 854 | |
|---|
| | 855 | ARRAY_BSEARCH( p_playlist->items,->i_id, int, i_id, i ); |
|---|
| | 856 | if( i != -1 ) |
|---|
| | 857 | ARRAY_REMOVE( p_playlist->items, i ); |
|---|
| | 858 | |
|---|
| 855 | 859 | /* Check if it is the current item */ |
|---|
| 856 | 860 | if( p_playlist->status.p_item == p_item ) |
|---|