Commit 725a1777 authored by Antoine Cellerier's avatar Antoine Cellerier

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

parent 67cfc814
...@@ -194,7 +194,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname, ...@@ -194,7 +194,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
psz_datapath, luadirname ) != -1) ) psz_datapath, luadirname ) != -1) )
i++; i++;
#if defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32) #if defined(__APPLE__) || defined(SYS_BEOS)
if( likely(asprintf( &ppsz_dir_list[i], if( likely(asprintf( &ppsz_dir_list[i],
"%s"DIR_SEP"share"DIR_SEP"lua"DIR_SEP"%s", "%s"DIR_SEP"share"DIR_SEP"lua"DIR_SEP"%s",
psz_datapath, luadirname ) != -1) ) psz_datapath, luadirname ) != -1) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment