Partial match is never used and interferes with the fallback mechanism

This commit is contained in:
radius 2017-04-15 10:47:11 -05:00
parent 89829d22b4
commit 0b2afde90b

View File

@ -122,11 +122,6 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf,
/* Check for name match */
if (string_is_equal(ident, params->name))
score += 2;
else
{
if (strstr(params->name, ident))
score += 1;
}
return score;
}