kopia lustrzana https://github.com/Hamlib/Hamlib
Fix rigctld sending an extra space in front of send_morse string
Single space still works https://github.com/Hamlib/Hamlib/issues/1281pull/1289/head
rodzic
07ba41d551
commit
addee81f43
|
@ -958,12 +958,7 @@ int rigctl_parse(RIG *my_rig, FILE *fin, FILE *fout, char *argv[], int argc,
|
||||||
{
|
{
|
||||||
*nl = '\0'; /* chomp */
|
*nl = '\0'; /* chomp */
|
||||||
}
|
}
|
||||||
|
/* skip a space arg if first arg...happens parsing rigctld commands */
|
||||||
if (cmd == 'b')
|
|
||||||
{
|
|
||||||
p1 = arg1; /* CW must accept a space argument */
|
|
||||||
}
|
|
||||||
else /* skip a space arg if first arg...but why? */
|
|
||||||
{
|
{
|
||||||
p1 = arg1[0] == ' ' ? arg1 + 1 : arg1;
|
p1 = arg1[0] == ' ' ? arg1 + 1 : arg1;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue