mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-08-13 11:31:44 +02:00
ingore commas in pasted frequencies
This commit is contained in:
@@ -70,6 +70,9 @@ namespace hrfreq {
|
|||||||
// If isn't numeric, skip it
|
// If isn't numeric, skip it
|
||||||
if (!isNumeric(c)) { continue; }
|
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
|
// Add the character to the numeric string
|
||||||
numeric += c;
|
numeric += c;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user