should be !string_is_equal

This commit is contained in:
Brad Parker 2017-02-13 15:12:04 -05:00
parent 0143b537a8
commit 6e969d0bc6

View File

@ -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;
}