]> git.sesse.net Git - vlc/commitdiff
Fixed a polioterie in the previous commit
authorXavier Marchesini <xav@videolan.org>
Wed, 21 Aug 2002 11:07:42 +0000 (11:07 +0000)
committerXavier Marchesini <xav@videolan.org>
Wed, 21 Aug 2002 11:07:42 +0000 (11:07 +0000)
src/misc/modules.c

index f29fd90f6015c2cdbd593f849fbf9b0b246a5bb5..318224dbecb4bd242240fa9e28d7f644dfef59f9 100644 (file)
@@ -2,7 +2,7 @@
  * modules.c : Builtin and plugin modules management functions
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.90 2002/08/21 09:26:53 xav Exp $
+ * $Id: modules.c,v 1.91 2002/08/21 11:07:42 xav Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Ethan C. Baldridge <BaldridgeE@cadmus.com>
@@ -538,7 +538,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
 #endif
 
     /* If the user provided a plugin path, we add it to the list */
-    path[ sizeof(path)/sizeof(char*) - 1 ] = config_GetPsz( p_this,
+    path[ sizeof(path)/sizeof(char*) - 2 ] = config_GetPsz( p_this,
                                                             "plugin-path" );
 
     for( ; *ppsz_path != NULL ; ppsz_path++ )