Fixed the fix 3 (grr).

This commit is contained in:
TC1995
2020-06-16 16:44:25 +02:00
parent aeae97fafc
commit 465789bd5c
2 changed files with 4 additions and 3 deletions

View File

@@ -174,9 +174,9 @@ fdc_ext_get_id(char *s)
{
int c = 0;
while (strlen((char *) fdc_devices[c].name))
while (strlen((char *) fdc_devices[c].internal_name))
{
if (!strcmp((char *) fdc_devices[c].name, s))
if (!strcmp((char *) fdc_devices[c].internal_name, s))
return c;
c++;
}