blob: 354221df959b086561004c8e553a82247941d959 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- 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);
}
}
@@ -46,7 +44,7 @@ int main(int argc, char **argv) {
void About()
{
- fl_message("Geodetic computer\nVersion: "VERSION"\nDave Freese\nw1hkj@@w1hkj.com");
+ fl_message("Geodetic computer\nVersion: " VERSION "\nDave Freese\nw1hkj@@w1hkj.com");
}
void cbSaveQTH()
|