summaryrefslogtreecommitdiff
path: root/map65/getfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'map65/getfile.cpp')
-rwxr-xr-xmap65/getfile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/map65/getfile.cpp b/map65/getfile.cpp
index 8f575209..61c340e1 100755
--- a/map65/getfile.cpp
+++ b/map65/getfile.cpp
@@ -44,7 +44,8 @@ void getfile(QString fname, bool xpol, int dbDgrd)
datcom_.ndiskdat=1;
int nfreq=(int)datcom_.fcenter;
- if(nfreq!=144 and nfreq != 432 and nfreq != 1296) datcom_.fcenter=144.125;
+// if(nfreq!=144 and nfreq != 432 and nfreq != 1296) datcom_.fcenter=144.125;
+ if(nfreq>9998) datcom_.fcenter=9990.100; //get crash if fcenter > 9999
int i0=fname.indexOf(".tf2");
if(i0<0) i0=fname.indexOf(".iq");
datcom_.nutc=0;