Commit c85a2dd8 authored by Rafaël Carré's avatar Rafaël Carré

zsh completion: fix argv passing

parent 32796b89
...@@ -221,7 +221,7 @@ static void ParseModule(const module_t *mod) ...@@ -221,7 +221,7 @@ static void ParseModule(const module_t *mod)
int main(int argc, const char **argv) int main(int argc, const char **argv)
{ {
libvlc_instance_t *libvlc = libvlc_new(argc, argv); libvlc_instance_t *libvlc = libvlc_new(argc - 1, argv + 1);
if (!libvlc) if (!libvlc)
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment