Commit b8efc4e0 authored by hartman's avatar hartman

logger: Mac OS X compile fix

parent 7aca939a
......@@ -210,7 +210,7 @@ static int Open( vlc_object_t *p_this )
{
#ifdef __APPLE__
if( asprintf( &psz_file, "%s/"LOG_DIR"/%s", config_GetHomeDir(),
(p_sys->i_mode == MODE_HTML) ? LOG_FILE_HTML
(p_sys->msg.i_mode == MODE_HTML) ? LOG_FILE_HTML
: LOG_FILE_TEXT ) == -1 )
psz_file = NULL;
#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