mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-04-18 05:05:41 +02:00
ingore commas in pasted frequencies
This commit is contained in:
parent
fbbafddd3d
commit
0e1ab29b5d
@ -70,6 +70,9 @@ namespace hrfreq {
|
||||
// If isn't numeric, skip it
|
||||
if (!isNumeric(c)) { continue; }
|
||||
|
||||
// If it's a comma, skip it for now. This enforces a dot as a decimal point
|
||||
if (c == ',') { continue; }
|
||||
|
||||
// Add the character to the numeric string
|
||||
numeric += c;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user