Commit b4125496 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

lua: remove special case for Apple in vlclua_dir_list

It was fixed in the core a long time ago, and would give us share/share/
parent d5ac6c4c
......@@ -220,13 +220,6 @@ int vlclua_dir_list( const char *luadirname, char ***pppsz_dir_list )
if( likely(asprintf( &ppsz_dir_list[i], "%s"DIR_SEP"lua"DIR_SEP"%s",
psz_datapath, luadirname ) != -1) )
i++;
#if defined(__APPLE__)
if( likely(asprintf( &ppsz_dir_list[i],
"%s"DIR_SEP"share"DIR_SEP"lua"DIR_SEP"%s",
psz_datapath, luadirname ) != -1) )
i++;
#endif
free( psz_datapath );
}
......
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