SCP: Fix SEND <dev>:line when after=nn and delay=nn not specified

For a command like:  SEND MUX:0 "abc"
in which a device is specified but there are no after=nn and delay=nn parameters, the code neglected to update cptr, resulting in an illegal argument error condition.
This commit is contained in:
Mark Emmer 2014-10-26 13:39:51 -06:00
parent b4fb149b8d
commit f6e750471a

1
scp.c
View file

@ -3262,6 +3262,7 @@ if (isalpha(gbuf[0]) && (strchr (gbuf, ':'))) {
r = tmxr_locate_line_send (gbuf, &snd);
if (r != SCPE_OK)
return r;
cptr = tptr;
tptr = get_glyph (tptr, gbuf, ',');
}
else