]> git.sesse.net Git - vlc/commitdiff
Fix previous commit.
authorKonstantin Pavlov <thresh@altlinux.org>
Fri, 26 Feb 2010 12:32:03 +0000 (15:32 +0300)
committerKonstantin Pavlov <thresh@altlinux.org>
Fri, 26 Feb 2010 12:32:03 +0000 (15:32 +0300)
modules/misc/lua/vlc.c

index efe0b1f643ee87931f4537e8910324fb06c4330c..fc9cf95b94d2359c2e6e23beb666e80df0163c13 100644 (file)
@@ -708,7 +708,7 @@ static int vlclua_add_modules_path_inner( lua_State *L, const char *psz_path )
     {
         char *psz_command = NULL;
         if( asprintf( &psz_command,
-                      "package.path =[[%s"DIR_SEP"modules"DIR_SEP"?.%s;]]..package.path",
+                      "package.path =[[%s"DIR_SEP"modules"DIR_SEP"?%s;]]..package.path",
                       psz_path, *ppsz_ext ) < 0 )
         {
             return 1;