bug fix, current-controlled switch, `w' device

This commit is contained in:
rlar 2010-11-08 19:30:05 +00:00
parent faa4943218
commit 699ba544fa
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-11-06 Robert Larice
* src/frontend/inpcom.c :
Thank you Éric Larouche, for the report and fix of a bug concerning
the number of terminals of the current-controlled switch device
(`w' device) (committed at 2007-10-08)
2010-11-06 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c ,

View File

@ -3049,10 +3049,10 @@ get_number_terminals( char *c )
switch (*c) {
case 'r': case 'c': case 'l': case 'k': case 'f': case 'h': case 'b':
case 'v': case 'i': case 'w': case 'd':
case 'v': case 'i': case 'd':
return 2;
break;
case 'u': case 'j': case 'z':
case 'u': case 'j': case 'w': case 'z':
return 3;
break;
case 't': case 'o': case 'g': case 'e': case 's': case 'y':