kopia lustrzana https://github.com/Hamlib/Hamlib
Correct for commas in set_level values done by Java in international mode
rodzic
6141e5098f
commit
4f73d24666
|
@ -2884,6 +2884,10 @@ declare_proto_rig(set_level)
|
||||||
return -RIG_ENAVAIL; /* no such parameter */
|
return -RIG_ENAVAIL; /* no such parameter */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// some Java apps send comma in international setups so substitute period
|
||||||
|
char *p = strchr(arg2,',');
|
||||||
|
if (p) *p = '.';
|
||||||
|
|
||||||
switch (cfp->type)
|
switch (cfp->type)
|
||||||
{
|
{
|
||||||
case RIG_CONF_BUTTON:
|
case RIG_CONF_BUTTON:
|
||||||
|
|
Ładowanie…
Reference in New Issue