ports/comms/cqrlog/files/patch-src_fGrayline.pas
Stephen Hurd e43afe1281 QRLOG is an advanced ham radio logger based on MySQL database. It provides
radio control based on hamlib libraries, DX cluster connection, band map,
QRZ.com/HamQTH.com callbook (XML access), IOTA support, a grayliner,
propagation indicator, xplanet support (maps in azimuthal projection centered
in your QTH), OK1RR free QSL manager database etc.

Reviewed by:	db, skreuzer
Approved by:	db, skreuzer (mentors)
Differential Revision:	https://phabric.freebsd.org/D313
2014-07-07 18:43:59 +00:00

11 lines
552 B
ObjectPascal

--- src/fGrayline.pas.orig 2014-07-01 00:36:18.000000000 -0700
+++ src/fGrayline.pas 2014-07-01 00:36:48.000000000 -0700
@@ -385,7 +385,7 @@
RBNSpotList[i].band := '';
ImageFile := dmData.HomeDir+'images'+PathDelim+'grayline.bmp';
if not FileExists(ImageFile) then
- ImageFile := ExpandFileNameUTF8('..'+PathDelim+'share'+PathDelim+'cqrlog'+
+ ImageFile := ExpandFileNameUTF8('%%PREFIX%%'+PathDelim+'share'+PathDelim+'cqrlog'+
PathDelim+'images'+PathDelim+'grayline.bmp');
ob:=new(Pgrayline,init(ImageFile))
end;