inptyplk.c, INPtypelook(), ignore case when comparing modelname
"bsim6" is in lower case in bsim6init.c
This commit is contained in:
parent
0e2c436116
commit
bf9ff9b188
|
|
@ -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