inptyplk.c, INPtypelook(), ignore case when comparing modelname

"bsim6" is in lower case in bsim6init.c
This commit is contained in:
rlar 2017-05-14 11:06:28 +02:00 committed by Holger Vogt
parent 530d69f775
commit 45575b2b1b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ int INPtypelook(char *type)
printf("In INPtypelook, checking model type = %s against existing model = %s, . . .\n", type, ft_sim->devices[i]->name);
#endif
if (ft_sim->devices[i] && strcmp(type, ft_sim->devices[i]->name) == 0) {
if (ft_sim->devices[i] && strcasecmp(type, ft_sim->devices[i]->name) == 0) {
/* found the device - return it */
#ifdef TRACE