From 063343e5383fdc9863a4a4cb6d9a7fae5478587f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 30 Sep 2017 07:28:58 +0200 Subject: [PATCH] Simplify this --- tasks/task_autodetect.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/task_autodetect.c b/tasks/task_autodetect.c index ce57439716..539fccd9c3 100644 --- a/tasks/task_autodetect.c +++ b/tasks/task_autodetect.c @@ -310,8 +310,7 @@ static bool input_autoconfigure_joypad_from_conf_internal( return true; } - if (!params->autoconfig_directory || - string_is_empty(params->autoconfig_directory)) + if (string_is_empty(params->autoconfig_directory)) return true; return false; }