Fix a bug with the alter statement

lower case for device name, when sent from shared ngspice
or from interactive mode.
This commit is contained in:
Holger Vogt 2021-08-07 16:39:46 +02:00
parent 896f7cbc6d
commit 605f59b417
1 changed files with 1 additions and 0 deletions

View File

@ -1246,6 +1246,7 @@ com_alter_common(wordlist *wl, int do_model)
/* in case the altermod command comes from commandline or
over shared library we have to provide lowercase */
strtolower(param);
strtolower(dev);
words = eqword->wl_next;
/* skip next line if words is a vector */