mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 06:40:07 +00:00
Use string_is_equal instead of strncmp
This commit is contained in:
parent
72caa55e7b
commit
7d06e6c48f
@ -107,7 +107,7 @@ static int input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
|
||||
else
|
||||
{
|
||||
if (!string_is_empty(ident)
|
||||
&& !strncmp(params->name, ident, strlen(ident)))
|
||||
&& string_is_equal(params->name, ident))
|
||||
score += 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user