Commit 80303c27 authored by Antoine Cellerier's avatar Antoine Cellerier

Use [[ ]] delimiter for string in order to prevent interpreting \ as an escape...

Use [[ ]] delimiter for string in order to prevent interpreting \ as an escape character. This should help fix lua related issues on windows.
parent c2fed7e0
......@@ -244,7 +244,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
*psz_char = '\0';
/* FIXME: don't use luaL_dostring */
if( asprintf( &psz_command,
"package.path = \"%s"DIR_SEP"modules"DIR_SEP"?.lua;\"..package.path",
"package.path = [[%s"DIR_SEP"modules"DIR_SEP"?.lua;]]..package.path",
p_sys->psz_filename ) < 0 )
{
free( p_sys->psz_filename );
......
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