Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b9a8c6fc
Commit
b9a8c6fc
authored
Jun 15, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core playlist: fix my mistake in [
4eff5692
]
Applied from
c35e504a
parent
4a31d472
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/playlist/item.c
src/playlist/item.c
+3
-4
No files found.
src/playlist/item.c
View file @
b9a8c6fc
...
...
@@ -821,9 +821,6 @@ static int RecursiveAddIntoParent (
if
(
!
p_new_item
)
return
i_pos
;
i_pos
++
;
//Swap parent for new item, if we will recurse
if
(
b_children
)
p_parent
=
p_new_item
;
}
//Recurse if any children
if
(
b_children
)
...
...
@@ -831,7 +828,9 @@ static int RecursiveAddIntoParent (
//Substitute p_new_item for first child leaf
//(If flat, continue counting from current position)
int
i_last_pos
=
RecursiveAddIntoParent
(
p_playlist
,
p_parent
,
p_child_node
,
p_playlist
,
p_new_item
?
p_new_item
:
p_parent
,
p_child_node
,
(
b_flat
?
i_pos
:
0
),
b_flat
,
&
p_new_item
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment