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

Lua path for windows modification.

parent e837e05e
......@@ -418,11 +418,18 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
psz_vlcpath, luadirname ) < 0 )
return VLC_ENOMEM;
i++;
if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "share" DIR_SEP "lua" DIR_SEP "%s",
# ifdef WIN32
if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "scripts" DIR_SEP "%s",
psz_vlcpath, luadirname ) < 0 )
return VLC_ENOMEM;
i++;
# else
if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "share" DIR_SEP "lua" DIR_SEP "%s",
psz_vlcpath, luadirname ) < 0 )
return VLC_ENOMEM;
i++;
# endif
}
# else
if( asprintf( &ppsz_dir_list[i],
......
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