Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
356da4f8
Commit
356da4f8
authored
Aug 19, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
help: fix loop invariant for string choices
Regression from
d70cda88
.
parent
0dd263ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/config/help.c
src/config/help.c
+2
-2
No files found.
src/config/help.c
View file @
356da4f8
...
...
@@ -453,7 +453,7 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_type
=
psz_buffer
;
psz_buffer
[
0
]
=
'\0'
;
for
(
i
=
0
;
p_item
->
ppsz_list
[
i
]
;
i
++
)
for
(
i
=
0
;
i
<
p_item
->
i_list
;
i
++
)
{
if
(
i
)
strcat
(
psz_buffer
,
","
);
strcat
(
psz_buffer
,
p_item
->
ppsz_list
[
i
]
);
...
...
@@ -481,7 +481,7 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
psz_bra
=
OPTION_VALUE_SEP
"{"
;
psz_type
=
psz_buffer
;
psz_buffer
[
0
]
=
'\0'
;
for
(
i
=
0
;
p_item
->
ppsz_list_text
[
i
]
;
i
++
)
for
(
i
=
0
;
i
<
p_item
->
i_list
;
i
++
)
{
if
(
i
)
strcat
(
psz_buffer
,
", "
);
sprintf
(
psz_buffer
+
strlen
(
psz_buffer
),
"%i (%s)"
,
...
...
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