]> git.sesse.net Git - vlc/blobdiff - mozilla/vlcplugin.cpp
Be on the safe side of memory protection for now: use PROT_WRITE.
[vlc] / mozilla / vlcplugin.cpp
index b4581eb7bc55c3c984df2425377b726384dfeed1..afa1399b0022740f9afb6a69ac58fabed56a60bc 100644 (file)
@@ -90,7 +90,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
          {
              if( i_type == REG_SZ )
              {
-                 strcat( p_data, "\\plugins000" );
+                 strcat( p_data, "\\plugins" );
                  ppsz_argv[ppsz_argc++] = "--plugin-path";
                  ppsz_argv[ppsz_argc++] = p_data;
              }
@@ -99,10 +99,6 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
     }
     ppsz_argv[ppsz_argc++] = "--no-one-instance";
 
-#if 1
-    ppsz_argv[0] = "C:\\Cygwin\\home\\damienf\\vlc-trunk\\vlc";
-#endif
-
 #endif /* XP_MACOSX */
 
     /* common settings */