allow format like .5 in b-sources
This commit is contained in:
parent
ae78dd06ef
commit
57f36319a1
|
|
@ -5434,7 +5434,7 @@ inp_bsource_compat(struct line *card)
|
|||
}
|
||||
}
|
||||
ustate = 0; /* we have a number */
|
||||
} else if (isdigit(actchar)) {
|
||||
} else if (isdigit(actchar) || (actchar == '.')) { /* allow .5 format too */
|
||||
/* allow 100p, 5MEG etc. */
|
||||
double dvalue = INPevaluate(&str_ptr, &error1, 0);
|
||||
char cvalue[19];
|
||||
|
|
|
|||
Loading…
Reference in New Issue