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
b60f0307
Commit
b60f0307
authored
Mar 28, 2004
by
Xavier Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction of a small bug in the function move
parent
27c5a8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/control/http.c
modules/control/http.c
+6
-1
No files found.
modules/control/http.c
View file @
b60f0307
...
...
@@ -1922,7 +1922,12 @@ static void MacroDo( httpd_file_sys_t *p_args,
uri_extract_value
(
p_request
,
"psz_newpos"
,
psz_newpos
,
6
);
i_pos
=
atoi
(
psz_pos
);
i_newpos
=
atoi
(
psz_newpos
);
playlist_Move
(
p_sys
->
p_playlist
,
i_pos
,
i_newpos
+
1
);
if
(
i_pos
<
i_newpos
)
{
playlist_Move
(
p_sys
->
p_playlist
,
i_pos
,
i_newpos
+
1
);
}
else
{
playlist_Move
(
p_sys
->
p_playlist
,
i_pos
,
i_newpos
);
}
msg_Dbg
(
p_intf
,
"requested move playlist item %d to %d"
,
i_pos
,
i_newpos
);
break
;
}
...
...
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