mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
TIMER: Tolerate trailing spaces on SET THROTTLE arguments
This commit is contained in:
parent
3671ef1d87
commit
ded2b20fe0
@ -1636,6 +1636,8 @@ else {
|
||||
c = (char)toupper (*tptr++);
|
||||
if (c == '/') {
|
||||
val2 = strtotv (tptr, &tptr, 10);
|
||||
while (sim_isspace (*tptr))
|
||||
++tptr;
|
||||
if ((*tptr != '\0') || (val == 0))
|
||||
return sim_messagef (SCPE_ARG, "Invalid throttle delay specifier: %s\n", cptr);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user