Commit 64637de2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

logger: fixed default log location on OS X

parent 10f17cde
......@@ -269,8 +269,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