Commit 9459dd3a authored by Felix Paul Kühne's avatar Felix Paul Kühne

logger: fixed default log location on OS X

(cherry picked from commit 64637de2)
parent b8723d77
......@@ -277,8 +277,8 @@ static int Open( vlc_object_t *p_this )
if( !psz_file )
{
#ifdef __APPLE__
# define LOG_DIR "Library/Logs/"
char *home = config_GetUserDir(VLC_DOCUMENTS_DIR);
# define LOG_DIR "Library/Logs"
char *home = config_GetUserDir(VLC_HOME_DIR);
if( home == NULL
|| asprintf( &psz_file, "%s/"LOG_DIR"/%s", home,
filename ) == -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