Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9cdec1ae
Commit
9cdec1ae
authored
Nov 11, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zsh completion: update to last libvlccore api
parent
49e1047e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+9
-9
No files found.
extras/analyser/zsh.cpp
View file @
9cdec1ae
...
...
@@ -140,29 +140,29 @@ static void ParseOption(const module_config_t *item)
case
CONFIG_ITEM_STRING
:
case
CONFIG_ITEM_INTEGER
:
if
(
item
->
i_lis
t
==
0
)
if
(
item
->
list_coun
t
==
0
)
break
;
for
(
int
i
=
0
;
i
<
item
->
i_lis
t
;
i
++
)
{
for
(
int
i
=
0
;
i
<
item
->
list_coun
t
;
i
++
)
{
std
::
string
val
;
if
(
item
->
ppsz_
list_text
)
{
const
char
*
text
=
item
->
ppsz_
list_text
[
i
];
if
(
item
->
list_text
)
{
const
char
*
text
=
item
->
list_text
[
i
];
if
(
item
->
i_type
==
CONFIG_ITEM_INTEGER
)
{
std
::
stringstream
s
;
s
<<
item
->
pi_list
[
i
];
s
<<
item
->
list
.
i
[
i
];
val
=
s
.
str
()
+
"
\\
:
\\\"
"
+
text
;
}
else
{
if
(
!
item
->
ppsz_list
[
i
]
||
!
text
)
if
(
!
item
->
list
.
psz
[
i
]
||
!
text
)
continue
;
val
=
item
->
ppsz_list
[
i
]
+
std
::
string
(
"
\\
:
\\\"
"
)
+
text
;
val
=
item
->
list
.
psz
[
i
]
+
std
::
string
(
"
\\
:
\\\"
"
)
+
text
;
}
}
else
val
=
std
::
string
(
"
\\\"
"
)
+
item
->
ppsz_list
[
i
];
val
=
std
::
string
(
"
\\\"
"
)
+
item
->
list
.
psz
[
i
];
list
=
val
+
"
\\\"
"
+
list
;
}
if
(
item
->
ppsz_
list_text
)
if
(
item
->
list_text
)
args
=
std
::
string
(
"(("
)
+
list
+
"))"
;
else
args
=
std
::
string
(
"("
)
+
list
+
")"
;
...
...
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