5d56e046d8
Computes range in kilometers and great circle bearing between QTH and remote site specified by Lat/Lon or Maidenhead Grid Square Computes range in kilometers and great circle bearing between QTH and a site selected from a database list for all known callsign prefixes and their geographic position. Geographic position is by major city.
15 lines
522 B
C++
15 lines
522 B
C++
--- geoid.cxx.orig Mon Dec 18 13:53:07 2006
|
|
+++ geoid.cxx Tue Mar 20 22:02:44 2007
|
|
@@ -28,10 +28,8 @@
|
|
strFname.append("/.geoid/country.pos");
|
|
|
|
if (ReadGeoFile((char *)strFname.c_str()) == -1) {
|
|
- strFname = szHomedir;
|
|
- strFname.append("/country.pos");
|
|
- if (ReadGeoFile((char *)strFname.c_str()) == -1) {
|
|
- fl_message("Cannot open %s", (char *)strFname.c_str());
|
|
+ if (ReadGeoFile("%%LOCALBASE%%/share/geoid/country.pos") == -1) {
|
|
+ fl_message("Cannot open country.pos");
|
|
exit(0);
|
|
}
|
|
}
|