git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9b2af
)
mozilla: don't add a custom application name as argv[0].
author
Rafaël Carré
<funman@videolan.org>
Sun, 21 Oct 2007 14:31:09 +0000
(14:31 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Sun, 21 Oct 2007 14:31:09 +0000
(14:31 +0000)
mozilla/vlcplugin.cpp
patch
|
blob
|
history
diff --git
a/mozilla/vlcplugin.cpp
b/mozilla/vlcplugin.cpp
index
4af2bff
..
1927434
100644
(file)
--- a/
mozilla/vlcplugin.cpp
+++ b/
mozilla/vlcplugin.cpp
@@
-70,8
+70,8
@@
static bool boolValue(const char *value) {
NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
{
/* prepare VLC command line */
- char *ppsz_argv[32]
= { "vlc" }
;
- int ppsz_argc =
1
;
+ char *ppsz_argv[32];
+ int ppsz_argc =
0
;
/* locate VLC module path */
#ifdef XP_MACOSX