]> git.sesse.net Git - vlc/commitdiff
Don't add share directory to lua search path on windows. Fixes #3320.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 22:13:32 +0000 (23:13 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 22:13:32 +0000 (23:13 +0100)
modules/misc/lua/vlc.c

index 5ce8d714e0ed4ed0d2f4cf43c9c062d4741c0b45..f06016697c65a9a8d2e753ed79955c074ea2c9d5 100644 (file)
@@ -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) )