From 7914dda336b0f0b2e99470ea971e16180e822f59 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 21 Dec 2016 00:02:09 +0100 Subject: [PATCH] Cleanup --- tasks/task_content.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index 8d52b47628..173fdae0fc 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -983,7 +983,6 @@ static bool task_load_content(content_ctx_info_t *content_info, const char *core_path = NULL; const char *core_name = NULL; playlist_t *playlist_tmp = g_defaults.content_history; - settings_t *settings = config_get_ptr(); switch (path_is_media_type(tmp)) { @@ -1015,7 +1014,7 @@ static bool task_load_content(content_ctx_info_t *content_info, } if ( - settings->history_list_enable + content_ctx->history_list_enable && playlist_tmp && playlist_push( playlist_tmp,