Commit 734f58f5 authored by Rafaël Carré's avatar Rafaël Carré

mozilla: don't add a custom application name as argv[0].

parent 9a9b2af4
...@@ -70,8 +70,8 @@ static bool boolValue(const char *value) { ...@@ -70,8 +70,8 @@ static bool boolValue(const char *value) {
NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[]) NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
{ {
/* prepare VLC command line */ /* prepare VLC command line */
char *ppsz_argv[32] = { "vlc" }; char *ppsz_argv[32];
int ppsz_argc = 1; int ppsz_argc = 0;
/* locate VLC module path */ /* locate VLC module path */
#ifdef XP_MACOSX #ifdef XP_MACOSX
......
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