Commit da5d49e2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Put the _same_ _platform-independent_ stuff in the same place

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