Changeset 664b1e97b1892e915e57a40d8e15beca7572a450
- Timestamp:
- 17/10/07 17:51:00
(1 year ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1192636260 +0000
- git-parent:
[6c93b8b782cfd0bb3c053e994f63fcdfc781bad0]
- git-author:
- Rafaël Carré <funman@videolan.org> 1192636260 +0000
- Message:
playlist_NodeDelete(): we want to delete a specific playlist_item_t*, not a playlist_item_t* associated to a specific input_item_t*
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rea06273 |
r664b1e9 |
|
| 153 | 153 | int i; |
|---|
| 154 | 154 | var_SetInteger( p_playlist, "item-deleted", p_root->i_id ); |
|---|
| 155 | | ARRAY_BSEARCH( p_playlist->all_items, ->p_input->i_id, int, |
|---|
| 156 | | p_root->p_input->i_id, i ); |
|---|
| | 155 | ARRAY_BSEARCH( p_playlist->all_items, ->i_id, int, |
|---|
| | 156 | p_root->i_id, i ); |
|---|
| 157 | 157 | if( i != -1 ) |
|---|
| 158 | 158 | ARRAY_REMOVE( p_playlist->all_items, i ); |
|---|