Browse Source

Fix a bug with the alter statement

lower case for device name, when sent from shared ngspice
or from interactive mode.
pre-master-46
Holger Vogt 5 years ago
parent
commit
605f59b417
  1. 1
      src/frontend/device.c

1
src/frontend/device.c

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

Loading…
Cancel
Save