inptyplk.c, INPtypelook(), ignore case when comparing modelname
"bsim6" is in lower case in bsim6init.c
This commit is contained in:
parent
530d69f775
commit
45575b2b1b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue