diff options
Diffstat (limited to 'comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp')
-rw-r--r-- | comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp b/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp new file mode 100644 index 000000000000..c07b0b4d029a --- /dev/null +++ b/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp @@ -0,0 +1,18 @@ +--- tqsllib-2.0/tqslconvert.cpp.orig 2007-12-18 08:39:49.000000000 -0500 ++++ tqsllib-2.0/tqslconvert.cpp 2007-12-18 08:42:31.000000000 -0500 +@@ -23,6 +23,7 @@ + #include <string> + #include <ctype.h> + #include <set> ++#include <locale.h> + + //#include <iostream> + +@@ -264,6 +265,7 @@ + + static const char * + tqsl_infer_band(const char* infreq) { ++ setlocale(LC_NUMERIC, "C"); + double freq = atof(infreq); + double freq_khz = freq * 1000.0; + int nband = 0; |