[vlc-devel] commit: Don't add share directory to lua search path on windows. Fixes #3320. (Antoine Cellerier )

git version control git at videolan.org
Sat Feb 27 23:12:07 CET 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Feb 27 23:13:32 2010 +0100| [725a1777f451060452977382712f0a1c0c395167] | committer: Antoine Cellerier 

Don't add share directory to lua search path on windows. Fixes #3320.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=725a1777f451060452977382712f0a1c0c395167
---

 modules/misc/lua/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 5ce8d71..f060166 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -194,7 +194,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
                               psz_datapath, luadirname ) != -1) )
             i++;
 
-#if defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32)
+#if defined(__APPLE__) || defined(SYS_BEOS)
         if( likely(asprintf( &ppsz_dir_list[i],
                              "%s"DIR_SEP"share"DIR_SEP"lua"DIR_SEP"%s",
                              psz_datapath, luadirname ) != -1) )




More information about the vlc-devel mailing list