From 6e969d0bc6e86f54368f5a26b80667e3473dea40 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 13 Feb 2017 15:12:04 -0500 Subject: [PATCH] should be !string_is_equal --- tasks/task_autodetect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/task_autodetect.c b/tasks/task_autodetect.c index be79f38c95..fd593df1ea 100644 --- a/tasks/task_autodetect.c +++ b/tasks/task_autodetect.c @@ -124,8 +124,8 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf, score += 2; else { - if ( !string_is_empty(ident) - && string_is_equal(params->name, ident)) + if ( !string_is_empty(ident) + && !string_is_equal(params->name, ident)) score += 1; }